I am trying to find a way to dynamically call a function given a string or reference a variable given a string. For instance:
import React, {useState} from \'reac