You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the error being thrown from components that use the useSelector hook. Downgrading to v 0.23.0 fixes the issue.
Before this happened I ran yarn rw upgrade so all the rw components were updated to 0.24.0.
Any component that uses useSelector won't work
The text was updated successfully, but these errors were encountered:
rechandler
changed the title
useDispatch breaking v0.24.0
useSelector breaking v0.24.0
Feb 4, 2021
The issue for anyone else who might come across this was because RedwoodProvider was replaced by Redwood Apollo Provider. #1639
Swap those out and you'll be good to go.
could not find react-redux context value; please ensure the component is wrapped in a
Error: could not find react-redux context value; please ensure the component is wrapped in a
at useReduxContext (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:136408:11)
at useSelector (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:136530:28)
at VehicleInfo (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:151707:86)
at renderWithHooks (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:124957:18)
at mountIndeterminateComponent (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:127636:13)
at beginWork (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:128750:16)
at HTMLUnknownElement.callCallback (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:110342:14)
at Object.invokeGuardedCallbackDev (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:110391:16)
at invokeGuardedCallback (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:110446:31)
at beginWork$1 (http://localhost:7910/main.8dc4a9e79da6f0a4eb85.bundle.js:133357:7)
This is the error being thrown from components that use the useSelector hook. Downgrading to v 0.23.0 fixes the issue.
Before this happened I ran
yarn rw upgrade
so all the rw components were updated to 0.24.0.Any component that uses useSelector won't work
The text was updated successfully, but these errors were encountered: