Closed
Description
What version of React, ReactDOM/React Native, Redux, and React Redux are you using?
- React: 18.2.0
- ReactDOM/React Native: 0.73.5
- Redux: 5.0.1
- React Redux: 9.1.0
What is the current behavior?
In my react native app, I have connected parent components which might contain connected children components (react navigation top material tabs). The child components might dispatch action to change its state, but sometimes the state of the child components is not refreshed, mapStateToProps is not called at all. It's not an issue about mutable state because if I change to another tab and return back, the state is correctly refreshed and subsequent state change after this is correctly refreshed. I moved back from 9.1.0 to 8.1.3, and the problem is solved.
What is the expected behavior?
mapStateToProps should be called whenever store state change.
Which browser and OS are affected by this issue?
react native ios
Did this work in previous versions of React Redux?
- Yes
Metadata
Metadata
Assignees
Labels
No labels