-
-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct way to use i18n.t() inside index.ts files in React TypeScript application #2158
Comments
? |
Sorry, that was a horrible description. Let me give you some more context. I am working on a React TypeScript application that also uses Vite. I've previously used i18next in a React JSX only application without issues. However, in the new project that I'm working on I have a handful of I came across the file after reading this issue: i18next/react-i18next#977 I believe my issue actually has something to do with the createBrowserRouter() in react router version 6.x.x. and the fact that it's initializing my routes before |
@telam you found solution with this problem? I catch the same behavior! |
i18next/examples/typescript/index.ts
Line 23 in 0949a2b
From the following file ^
The text was updated successfully, but these errors were encountered: