could not find react-redux context value
See original GitHub issueWhat version of React, ReactDOM/React Native, Redux, and React Redux are you using?
- React: 18.2.0
- ReactDOM/React Native: 0.70.2
- Redux: -
- React Redux: 8.0.4
What is the current behavior?
Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider>
<Provider store={store}>
<PersistGate persistor={persistor}>
<StripeProvider publishableKey={Config.REACT_APP_STRIPE_PK}>
<SafeAreaProvider>
<ErrorBoundary FallbackComponent={ChefError} onError={errorHandler}>
<LoadingProvider>
<GestureHandlerRootView style={{flex: 1}}>
<BottomSheetModalProvider>
<ApplicationNavigator />
</BottomSheetModalProvider>
</GestureHandlerRootView>
</LoadingProvider>
</ErrorBoundary>
</SafeAreaProvider>
</StripeProvider>
</PersistGate>
</Provider>
my app is wrapped, I have this problem after update
What is the expected behavior?
no error
Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?
- Yes
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
useDispatch() Error: Could not find react-redux context value ...
App must be wrapped in provider since you are using useDispatch in it. Right now it's just a child. Provider sets the context...
Read more >could not find react-redux context value - Nelson Hernández
This a example of an error. import React, {Fragment } from 'react'; import { BrowserRouter as Router, Switch, Route } ...
Read more >Components cannot find react-redux context value #22366
I am attempting to add Cypress to my React/Typescript project for unit testing. It uses Redux in pretty much the entire project, so...
Read more >could not find react-redux context value - You.com
Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider> If you need to access redux store...
Read more >Accessing the Store | React Redux
Internally, React Redux uses React's "context" feature to make the Redux store accessible to deeply nested connected components. As of React ...
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
That is your project. You will need to figure out how to manage the dependencies there yourself - that’s far out of the scope of this repo.
how can update this version?