Skip to content
Discussion options

You must be logged in to vote

@jennyluo0607

I have searched it on other websites because the client and server do not synchronize the store

I googled other reasons why this error can occur:

When does the problem occur?
If a component is initially mounted or hydrated in the DOM, it needs to precisely correspond to the HTML generated on the server side. Only after this has happened may the HTML change. A suitable point in time for this after hydration would therefore be the mounted lifecycle.

See:
https://www.sumcumo.com/en/understand-and-solve-hydration-errors-in-vue-js

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jennyluo0607
Comment options

Answer selected by jennyluo0607
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants