store_changeHandler = (event)=>{
var Component = this.props.store.view;
this.setState({
component: <Component />
});
};
render() {
return <div>{this.state.component}</div>;
}
store_changeHandler = (event)=>{
this.setState({
component: this.props.store.view
});
};
render() {
var Component = this.state.component;
return <div>{<Component />}</div>;
}
store_changeHandler (event) {
var Component = this.props.store.view;
this.setState({
component: (<Component />)
});
};
render() {
return <div>{this.state.component}</div>;
}