this reducer is invalid, because the HOC ui bind reducer as follows:
componentWillMount() {
// If the component's UI subtree doesn't exist and we have state to
// set ensure we update our global store with the current state.
if (this.props.ui.getIn(this.uiPath) === undefined && opts.state) {
const state = this.getDefaultUIState(opts.state);
this.context.store.dispatch(mountUI(this.uiPath, state, opts.reducer));
}
}
i dont think this is a bug, but i dont like handle the state of Table in Toolbar, it there any good idea?
order:
<Toolbar />
<Table />
ui in Toolbar:
ui in Table:
this reducer is invalid, because the HOC ui bind reducer as follows:
i dont think this is a bug, but i dont like handle the state of Table in Toolbar, it there any good idea?