withContext wraps another ReactComponent, so rendered component doesn't have those functions provided by mixins.
Can we change something like
function renderComponent() {
var element = React.createElement.apply(React, arguments);
var component = ReactDOM.render(element, appContainer);
return component.refs.child || component;
}
withContext
wraps anotherReactComponent
, so rendered component doesn't have those functions provided by mixins.Can we change something like