balazsorban44 / auth-poc-next

214 stars 66 forks source link

Hydration Errors Out of the box. #4

Open rcfrias opened 6 months ago

rcfrias commented 6 months ago

This project has a bug. As soon as you reload the page, you can see this error:

Unhandled Runtime Error Error: Hydration failed because the initial UI does not match what was rendered on the server.

Warning: Did not expect server HTML to contain a

in
.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

rcfrias commented 6 months ago

I can confirm this happens due to external Chrome extensions trying to auto-complete, or tools that interfere with user input. In my case is LastPass. The only advice I can give you is to inspect the source code and look for the unexpected

tag. BTW. my first tries on suppressHydrationWarning take no effect and I am still getting those errors. Im new to Next&React, I want to believe this errors only happen in dev mode. Cheers! -roberto