Answer the question
In order to leave comments, you need to log in
Redux devtools No store found in production, why?
The redux devtools does not work in the production, everything else works as it should. Both the project and redux devtools work in development, why?
This store
import { createStore, compose, applyMiddleware } from 'redux';
import rootReducer from './reducers';
import thunk from 'redux-thunk';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(rootReducer, composeEnhancers(applyMiddleware(thunk)));
export default store;
Answer the question
In order to leave comments, you need to log in
Or is this how it should be and should not be displayed in the product?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question