injectReducer
Last updated
Last updated
for injecting Reducers asynchronously.
The Reducer with a duplicate key
will be ignored.
The Reducer stays in the runtime after component is unmounted.
key
(String
): A string key
to identify the reducer in the
reducer
(Function
): A function to be injected.
(Function
): A function that accepts a React Component.