Hacker News new | ask | show | jobs
by rjayatilleka 3839 days 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);