You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
stefensuhat
changed the title
Add alternative to use the translation without connect.
Add alternative to use the translation without connecting to the components.
Jun 28, 2017
stefensuhat
changed the title
Add alternative to use the translation without connecting to the components.
Add alternative to use the translation without connector to the components
Jun 28, 2017
I'm not 100% sure what the request is, but I am working an update to the translate function that would allow you to easily pass multiple translations down to a child component, but the parent component would still need to be connected. I'm hoping to have this new feature ready by end of week.
In meantime if you want to provide some more detail on your issue I might be able to better answer.
I think he meant component connected with getTranslate would rerender on every action dispacthed.
I tried using selector to prevent unnecessary rerendering. const translateSelector = createSelector( state=>state.locale, (locale) => getTranslate(locale)
)
No description provided.
The text was updated successfully, but these errors were encountered: