name property that's being used to match the "JSON component" with the correct React component.ComponentA and ComponentB. ComponentA has the following propertiesComponentB has the following properties:switch-statementswitch-statement and it can become quite the mess. We would like to use an object with a key-value pair. The key being the unique name property and the value the component that needs to be rendered.