-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
The plan is to provide both versions in the future:
- v10 will be the version having the new hooks and suspense version only
- v9 will be the last major version having the current react-i18next available (will go into maintenance mode -> only bug fixes - no new features)
We for sure will have to maintain v9 for a while.
TODO:
- rename
useT->useTranslation,withT->withTranslations - report namespaces functionality (auto enabled under the hood - accessible via getFunction)
- handle initialStore, initialLanguage (where? existing Hook, new explicit useSSRI18n Hook, new explicit withSSRI18n HOC)
- rename useReactI18n with useReactI18next here: https://github.com/i18next/react-i18next/blob/master/src/hooks/context.js#L35
- create a next.js sample as proof of concept: getInitialProps as a HOC, or just a plain function provided to get that values for initialI18nStore and initialLanguage from react-i18next? (useSSR for different requests #671 seems a prove of working as expected)
- add tests for all the new stuff
- add typings for typescript
Release winter 2018/19: https://reactjs.org/blog/2018/11/27/react-16-roadmap.html (won't be 16.7!!! https://reactjs.org/blog/2018/12/19/react-v-16-7.html)
Release seems to be 4th of February: facebook/react#14692
rodrigooler, chillitom, yasaichi, danielbischoff, stunaz and 2 morerodrigooler and stunazaralroca, stunaz and leonardfactory
Metadata
Metadata
Assignees
Labels
No labels