Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Translation reset after component is unmounted with useTranslation #801
I've already mentioned this bug in the #796 (comment). If the namespace is loaded after the component is no longer mounted, the React logs errors
Occurs in latest stable at the time of writing - #15.0.6 and react-i18next#10.5.1.
There is a custom backend that resolves only after 5 secs. Before it does, click on the "Toggle child" to remove the child. After 5 secs, error should appear in the console.