icon icon indicating copy to clipboard operation
icon copied to clipboard

Icon in parent page makes setup script runs twice when child route. (Hydration node mismatch)

Open teamboot88 opened this issue 2 years ago • 4 comments

Icon in parent page makes setup script runs twice when child route.

Reproduction https://stackblitz.com/edit/github-dgdjfn-hhmxav?file=pages/[username]/index/posts.vue

(If I remove Icon component, It works properly)

I'd appreciate it if you could tell me how to solve it.

teamboot88 avatar Dec 23 '22 18:12 teamboot88

I think it's a critical issue. When can it be modified?

teamboot88 avatar Jan 29 '23 12:01 teamboot88

Currently, I show it only when the pending value of lazyFetch is true, or I am detouring it with the ClientOnly tag. Is there a better solution?

teamboot88 avatar Feb 03 '23 10:02 teamboot88

I have the same warning, and it is not found everywhere

Frallen avatar Apr 02 '23 18:04 Frallen

I get it when I render a component next to it

Frallen avatar Apr 02 '23 18:04 Frallen