question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always "No store found"

See original GitHub issue

The 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?

chrome reduxdevtools no store found - google chrome 2017-02-12 09 08 25

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
alozytskyicommented, Apr 26, 2017

@zalmoxisus I updated createStore to use above example, still have No store found half of the time.

0reactions
Nogias9xcommented, Oct 6, 2020

I’m facing the same problem. window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ is always undefined Version: 2.17.0 on Ubuntu Chrome

Tried these but doesn’t help:

  1. Turned on “Allow access to file URLs” image

  2. Click “Reload frame” image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found