You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Personally I still feel like it isn't clear enough. Looking at the last block of code would require most people to open the redux docs and look at the API for createStore, compose, and applyMiddleware to figure out what's going on.
I'll update the example code to redux 3.1 and make sure we use it internally, but I still think there is value in wrapping the API. 🌴
This caught my eye:
compose(applyMiddleware(middleware), devtools)(createStore)(combineReducers(reducers), initialState)
createStore({middleware: [], initialState: {}, reducer: fn})
Not saying it’s perfect now, but since Redux 3.1 we allow
or
if you want DevTools.
Is this of any help?
The text was updated successfully, but these errors were encountered: