I want to pass the component path from a parent react component to a child react component, and this child component should import the component when the props are ready, but dynamic import rely on that the passed value should be string not a value to resolve at runtime, anything can help me in the
example
<Parent childComponentPath={'../foo/bar'}/>
cont child = require(this.props.childComponentPath)
<Child/>
Edit: I've tried System.import not working