You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Text content does not match server-rendered HTML.
See more info here: https://nextjs.org/docs/messages/react-hydration-error
Text content did not match. Server: "Mon" Client: "Mo."
It seems to me that the first render happens in English, then in the specified language.
The text was updated successfully, but these errors were encountered:
In my production Next application it worked a bit differently: it showed English for the first time we open the datepicker, then it would change the locale. To prevent this, I had to forcefully rerender the component by updating key.
To reproduce, set the default locale (e.g.
de
). For example, in the playground (app/page.tsx
) replace this line:And the error will appear:
It seems to me that the first render happens in English, then in the specified language.
The text was updated successfully, but these errors were encountered: