ratson / react-intl-redux

Redux binding for React Intl.
MIT License
297 stars 48 forks source link

2.0.1: Not re-rendering anymore after updating locale #51

Closed kaYcee closed 6 years ago

kaYcee commented 6 years ago

Upgraded to 2.0.1 yesterday and although the @@intl/UPDATE action is triggered when calling updateIntl(...) the Provider component is not re-rendered anymore. Had to revert to 2.0.0. Anyone else experiencing the same thing? FYI I'm using the <Provider> component from react-intl-redux.

kaYcee commented 6 years ago

never mind...seems that in release 2.0.0 actually two renders were executed whereas now only a single render is performed. Adjusted my internal logic as the current behaviour is more performant.