Skip to content

Errors: Text content does not match server-rendered HTML & Hydration failed #28

@kosyachniy

Description

@kosyachniy

On reload page I get errors:
1.

Unhandled Runtime Error
Error: Text content does not match server-rendered HTML.

See more info here: https://nextjs.org/docs/messages/react-hydration-error
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

See more info here: https://nextjs.org/docs/messages/react-hydration-error
Unhandled Runtime Error
Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

I try to check your example here:
https://github.com/oslabs-beta/next-persist-demo

But errors are exist.
I create pull-request & issue:
oslabs-beta/next-persist-demo#28
oslabs-beta/next-persist-demo#27

How to use next-persist now? How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions