3 ms·
I haven't used React in a while, so maybe this has changed, but can't you just do something like component = React.createFactory(MyReactComponentClass);
by rjayatilleka 11y ago
I haven't used React in a while, so maybe this has changed, but can't you just do something like
component = React.createFactory(MyReactComponentClass);
component(props, children);