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
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
The error appears only in production mode, developer mode works flawlessly. Using this manual https://nextjs.org/docs/messages/react-hydration-error we learn about several solutions, the only working solution is to use next/dynamic, but this is a mediocre solution, because the component appears only after a while.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.
This issue has been automatically closed due to two years of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!
Link to the code that reproduces this issue
https://github.com/kamil-wsiiz/server-action-hydration-error
To Reproduce
npm i react-select
npm run build && npm run start
Current vs. Expected behavior
Unexpected hydration error appears every few loads
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64 Binaries: Node: 20.9.0 npm: 10.1.0 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.0.1 eslint-config-next: 14.0.1 react: 18.2.0 react-dom: 18.2.0 typescript: 5.2.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
The error appears only in production mode, developer mode works flawlessly. Using this manual https://nextjs.org/docs/messages/react-hydration-error we learn about several solutions, the only working solution is to use next/dynamic, but this is a mediocre solution, because the component appears only after a while.
The text was updated successfully, but these errors were encountered: