Cache component enable #87893
Replies: 2 comments 2 replies
-
|
@icyJoseph could you help me on that one pls? |
Beta Was this translation helpful? Give feedback.
-
|
Hey, This is a classic Hydration Mismatch. The issue happens inside your Because the Server HTML and Client HTML don't match, React throws a hydration error and discards the server HTML, causing the flash/delay you are seeing. The Fix: 1. Update
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have a right panel in my nextjs 16+ app that should show the chat or the task creation form or a task information or call... . And since cache components is enable I have a problem since I need the right panel to remember his state stored in the cookie and so that even when we refresh the page we keep the state of the right panel (open or close and "chat" or "task" or "new-task" or...). Right now when I reload the app the right panel keep his state open or close but the view ("chat" or "task" or...) takse more time to get it and so it create hydration error.
If you need anything else tell me, Thank you
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions