We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3dcd1 commit 792ac5aCopy full SHA for 792ac5a
docs/recipes/CodeSplitting.md
@@ -54,7 +54,7 @@ export default function configureStore(initialState) {
54
// This function adds the async reducer, and creates a new combined reducer
55
store.injectReducer = (key, asyncReducer) => {
56
store.asyncReducers[key] = asyncReducer
57
- store.replaceReducer(createReducer(this.asyncReducers))
+ store.replaceReducer(createReducer(store.asyncReducers))
58
}
59
60
// Return the modified store
0 commit comments