Closed
Description
First of all, I'm using Relay. It means that redux own only part of my state and I have a problem with it.
I wrapped my App
component using connect
because I want to get locale info from store.
If I keep pure
option as true
then connect
prevents re-rendering, because nothing changed in redux.
But, If I set pure
option into false
, connect
doesn't recall mapStateToProps
and mapDispatchToProps
, so stateProps
and dispatchProps
are cached forever.
Is it a bug?
https://github.com/rackt/react-redux/blob/master/src/components/createConnect.js#L93
Metadata
Metadata
Assignees
Labels
No labels