Skip to content
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

Hydration failed because the initial UI does not match what was rendered on the server #5

Open
durwankurnaik opened this issue Apr 22, 2023 · 2 comments

Comments

@durwankurnaik
Copy link

I am currently at the timestamp 2:41:47 of the video and I am getting this error after I added "Add friend" along with the logo, I don't know how it happened, I tried many ways of fixing it but it doesn't get fixed.
Here is the link to the repository in which my code is present:
https://github.com/durwankurnaik/realtime-next-chat-app/blob/main/src/app/(dashboard)/dashboard/layout.tsx

@Soraka-TheBanshee
Copy link

same error for me but with Button

@Soraka-TheBanshee
Copy link

Soraka-TheBanshee commented May 12, 2023

Welp. I figured that this is some cache problem that is not updating for some reason when any ui component was changed. At least there is no hydration error after i cleared cache in .next, but it appears after i gave the Button different child.

So, i decided to downgrade it to 13.2.4 as it is here, from 13.4.0. and it only what helped me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants