Always "No store found"
See original GitHub issueThe extension doesn’t start.
I have an app with server side rendering. Following the instruction, I set up the plugin like this.
On server routes.js
const composeWithDevTools = require('redux-devtools-extension').composeWithDevTools;
let store = createStore(reducer, state, composeWithDevTools(applyMiddleware(thunkMiddleware, loggerMiddleware)));
let html = ReactDOMServer.renderToString(getApp(store, renderProps));
In browser’s part:
let store = createStore(
reducers,
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() && window.__state__,
applyMiddleware(thunkMiddleware, loggerMiddleware)
);
let Application = (
<Provider store={store}>
{ routes }
</Provider>
)
But I always get No store found
. What do I miss? How to make it work?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
"No store found" when using Redux chrome extension
I've got the solution from here. The right code is : import {createStore, applyMiddleware, compose} from 'redux'; import rootReducer from '.
Read more >Since this morning I'm getting "No store found. Make sure to ...
So I refresh the app I see the redux actions for a second 90% of the times I see "No store found. Make...
Read more >No store found. Make sure to follow the instructions. | by Tan Dat
I have to right click on Redux Devtools Extension -> Open Remote DevTools -> Then change the Settings to use the custom server...
Read more >Configuring Your Store - Redux
The solution to this problem is to create a new configureStore function which encapsulates our store creation logic, which can then be located...
Read more >What is Cache-Control and How HTTP Cache Headers Work
The no-cache directive means that a browser may cache a response, but must first submit a validation request to an origin server. Cache-Control:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zalmoxisus I updated createStore to use above example, still have
No store found
half of the time.I’m facing the same problem.
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
is always undefined Version: 2.17.0 on Ubuntu ChromeTried these but doesn’t help:
Turned on “Allow access to file URLs”
Click “Reload frame”