-
Notifications
You must be signed in to change notification settings - Fork 380
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
docs(examples): update examples #1550
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## next #1550 +/- ##
=======================================
Coverage 75.34% 75.34%
=======================================
Files 78 78
Lines 1971 1971
Branches 516 516
=======================================
Hits 1485 1485
Misses 375 375
Partials 111 111 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
The solution is not working, we keep using the useEffect to activate the language. The problem with that is that useEffect is called only client side so in server side the page is rendered with the default language and not the right one |
Is there any workaround to this ? Translations are not added to HTML on server. They are being added on Client Side. |
@tanwarvinay check the latest examples in the repository carefully, it's working perfectly with SSR |
@thekip Thank you for the quick response. On my localhost i actually get translations on SSR but when i deploy my code on staging server than the poblem occurs.
My Implementation Example
The Above Code Works perfectly on my localhost (on build also) but gives the above stated warning. But does not work when staging server is used. |
@tanwarvinay please make sure that the Lingui |
@tanwarvinay please use examples provided in this repo. Your integration is wrong. |
@andrii-bodnar and @thekip you are a life saver. Thank you so much. |
Description
#1393