dvtng / react-loading-skeleton

Create skeleton screens that automatically adapt to your app!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hugoh59 opened this issue · comments

Getting the following error when adding the Skeleton component when the value is undefined.

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

Warning: Expected server HTML to contain a matching <button> in <div>.

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

Using "react": "18.2.0" "react-loading-skeleton": "^3.3.1"

Hi @hugoh59, I have run into the same issue. Would you mind explaining how you resolved it?