Yes, you have done right!
Or just replace compose with composeWithDevtools like this commit:
compose
composeWithDevtools
const { composeWithDevTools } = dev ? require('redux-devtools-extension') : require('redux-devtools-extension/logOnlyInProduction'); export default (state = initialState): Store => { const middlewares = dev ? [thunkMiddleware, createLogger()] : []; return createStore(reducers, state, composeWithDevTools(applyMiddleware(...middlewares))); };
Thanks, Do you have an idea of how to include SCSS to this setup?
This is a NEXT.js side. Please see github.com/zeit/next.js/tree/canar...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, you have done right!
Or just replace
compose
withcomposeWithDevtools
like this commit:Thanks, Do you have an idea of how to include SCSS to this setup?
This is a NEXT.js side.
Please see github.com/zeit/next.js/tree/canar...