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
@jamuhl so i need to implement some logic to track that at my side.
Ok! I have no problem with that :) Just wanted to check if there any other more natural solution.
🐛 Bug Report
Hi!
Faced an issue when using withTranslation HOC.
Previous value of language property of i18n object is exact same as new one when i'm trying to access it within ComponentDidUpdate method.
Is it a bug or i'm doing something wrong?
I've found a similar old issue: #508
But is seems like that solution is not actual for new versions.
To Reproduce
https://codesandbox.io/s/great-moore-04ob5
Expected behavior
Previous value and new value not same.
Your Environment
i18next 19.7.0
react 16.12.0
react-i18next 11.7.3
The text was updated successfully, but these errors were encountered: