mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Update Walkthrough.md
Do we need to compose here?
This commit is contained in:
parent
33c6f314d8
commit
b8cdf22d28
|
@ -180,7 +180,7 @@ const enhancer = applyMiddleware(p1, p2, p3);
|
|||
export default function configureStore(initialState) {
|
||||
// Note: only Redux >= 3.1.0 supports passing enhancer as third argument.
|
||||
// See https://github.com/rackt/redux/releases/tag/v3.1.0
|
||||
return createStore(rootReducer, initialState, enhancer);
|
||||
return createStore(compose(rootReducer, initialState, enhancer));
|
||||
};
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user