Closed TheCoati closed 1 month ago
Any ideias? Same issue here
I resorted to forking the project to resolve this issue.
The bug is in provider.ts. If you want to fix your own project, copy the changes in this file: https://github.com/RetroAchievements/RAWeb/pull/2723/files/b9644c05d1f193032d15f37277b1d88535047e50#diff-f7d458b3d1d0014c6c7114fd9fe84f22424ecd60dca8404f506ad0bc218c6ad7
fixed at 2.0.5
When using laravel-react-i18n with Inertia SSR, the page is rendered twice using
hydrateRoot
.ssr.tsx
app.tsx
home.tsx
Restults in:
After removing the
<LaravelReactI18nProvider>
, the text Test correctly renders only once, as intended.