Usage with redux devtools
entrptaher opened this issue · 0 comments
entrptaher commented
Adding anything after createStore, specially the devtools related code, stops the page from rendering with store data.
const extension = typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__();
const store = createStore(reducer, extension);