-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
v10 I18nextProvider typings missing #718
Comments
Can you suggest a PR? And perhaps @rosskevin or @schettino could review... |
Not now unfortunately, maybe later this night (UTC+7) |
Could you provide an upgrade guide from V9 to V10 please ? I saw that reactI18nextModule became initReactI18next. I lost my withNamespaces and I don't what is replacing this ? |
@jkeruzec seems like withTranslation is replacement for withNamespaces. However, I didn't see any warnings about v10 containing some breaking changes... |
@Brisstor semver?!? 9.x.x -> 10.0.0 = Breaking API else it would be just 9.1.0 (additional hooks no breaking) |
|
@jkeruzec @Brisstor https://react.i18next.com/latest/migrating-v9-to-v10 hopefully helps a little - contribution with your migration experiences would be very welcome. |
I created an PR to fix that issue. I had the same problem after migrating to V10. |
Describe the bug
TypeScript typings doesn't include
I18nextProvider
.Occurs in react-i18next version
v10.0.0
To Reproduce
Steps to reproduce the behavior:
import {I18nextProvider} from 'react-i18next
in TypeScriptExpected behaviour
Typings should include
I18nextProvider
The text was updated successfully, but these errors were encountered: