Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

× Could not find "store" in the context of "Connect(LoadingBar)". #98

Open
ahmadsukabul opened this issue Nov 5, 2019 · 3 comments
Open

Comments

@ahmadsukabul
Copy link

×
Could not find "store" in the context of "Connect(LoadingBar)". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to Connect(LoadingBar) in connect options.

please help me.. thanks alot

@mironov
Copy link
Owner

mironov commented Nov 17, 2019

@ahmadsukabul That must mean that the component can't find Redux store in the context.
Please make sure that you have wrapped up your React tree in the Provider as it is shown in the Redux docs: https://redux.js.org/basics/usage-with-react#passing-the-store

@Malexs
Copy link

Malexs commented Feb 12, 2020

@mironov not sure, but seems like we get this error after react-redux update to v7.1.0 even with associated store.

@mironov
Copy link
Owner

mironov commented Feb 16, 2020

@Malexs Could you provide a repository that reproduces the issue? The demo of the Loading Bar uses react-redux 7, and seems to be working fine: https://github.com/mironov/react-redux-loading-bar/tree/gh-pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants