-
Notifications
You must be signed in to change notification settings - Fork 594
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
Error Could not find "store" in the context
when adding context to the provider and connectedRouter
#241
Comments
@vchouhan Just a check: did you restart your app after bumping your local package? I'd been getting the same error until I remembered I still needed to do that. |
Same here |
@vchouhan what font are you using? |
+1 |
I am also having this problem, any updates on this? |
Same here! |
Same here. |
i have this problem with an ssr react project. i saw another problem where the props apppeared to be replaced altogether with the router props |
Same here. |
1 similar comment
Same here. |
Same problem. Any updates yet? :( |
I've solved it via bumping up to date all the packages linked with Seems like some of the inner dependencies had a problem with new And it works for me now! :) |
Figured it out. All I was missing was the
|
@RyanPWalker I'm sorry In my case, the problem concerned an outdated MaterialUI component that was creating Popovers outside the context. Changing the Popovers solved the problem. |
@crowmw Why the thumbs down? It's still a valid solution, just not for your exact case. |
Based on the migration to v5 and v6 and with the following code I'm getting the error listed below.
error message on application start
Could not find "store" in the context of "Connect(Home)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(Home) in connect options.
Packages:
"connected-react-router": "^6.2.1", "react-redux": "^6.0.0"
The text was updated successfully, but these errors were encountered: