applyReducers([reducers])
Registers reducers to a component to enable code splitting.
Ensure
applyReducers([reducers])
is rendered withincreatePage([...connectArgs])(Page, [reducers])
hierarchy.
Arguments
[
reducers
] (Object): An object of reducers which will be registered into a component.Make sure each reducers has unique name within your application reducers.
Returns
(Function): A higher order React component class that loads or unloads registered reducers dynamically within the component lifecycle.
Examples
Last updated