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