ratson / react-intl-redux

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

When using updateIntl, it's reseting the container state #30

Closed idangozlan closed 7 years ago

idangozlan commented 7 years ago

For ex. if there's an open dialog (open state is defined on the container state), and using updateIntl it's getting closed (as the initial state)

ratson commented 7 years ago

Do you have dialog open in your store?

idangozlan commented 7 years ago

state, not store

ratson commented 7 years ago

I don't think you could preserve state when you change context, which react-intl relying on. If you have suggestions on how it could be done, I am willing to learn.

ratson commented 7 years ago

Close due to nothing actionable.