react-i18next old method warning
See original GitHub issueWhen developing the client, this warning appears:
react-i18next:: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.
Seeing as this has been recently adopted, I would not expect to see warnings about old methods.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
react-i18next old useSuspense warning
react-i18next:: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour. How can I clear...
Read more >Step by step guide - react-i18next documentation
Configure i18next I18next is the core of the i18n functionality while react-i18next extends and glues it to react. import Backend from 'i18next-http-backend'; ...
Read more >Testing - react-i18next documentation
In the test, test the myComponent export passing a t function mock: ... any components using the translate hook can use it without...
Read more >Configuration Options - i18next documentation
Set it to false if your backend loads resources synchronously - that way, calling i18next.t() after init() is possible without relying on the...
Read more >Migrating v9 to v10
This is a specific migration guide regarding the complete react-i18next rewrite in v10. If you're looking for general release notes, please have a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not associated with this project, but I stumbled upon this post while trying to fix this problem for myself. I was able to get rid of this warning by adding { useSuspense : true } to the react object in the i18n configuration. Here is the link to the docs for more info, I hope it helps. https://react.i18next.com/latest/i18next-instance
Here are the docs for react i18next: https://react.i18next.com, if you need help please consider seeking assistance on their community channels.
Thanks.