-
Notifications
You must be signed in to change notification settings - Fork 72
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
SSR hydration error with redirect: true #171
Comments
Is it because the language is only checked at browser-side, so the redirect isn't detected at server-side then Gatsby sees a difference between the server-rendered page (/) and the actual page (/fr) ? |
Same issue. After switching the language from the main language (for example, thewebsite.com), it will now redirect me to thewebsite.com/es/ for example. Now when the second language is remembered as a choice, when If I try to access the website directly typing its URL (thewebsite.com) without language path, it gives 2 errors Error #418 and Error #423:
|
I'm also experience this. |
I’m still having the same issue. |
How to reproduce :
npm start
The redirection is causing a hydration error
![image](https://user-images.githubusercontent.com/12541829/225640193-72d0822a-56b2-4745-91ea-0d01a55281aa.png)
The text was updated successfully, but these errors were encountered: