I am trying to dynamically render components based on their type. For example: var type = "Example"; var ComponentName = type + "Component"; return <ComponentName />; // Returns <examplecomponent...
  • May 21, 2022
  • 0 Comments
I’m trying to find the proper way to define some components which could be used in a generic way: <Parent> <Child value="1"> <Child value="2"> </Parent> There is a logic...
  • April 13, 2022
  • 0 Comments