[Issue][Nuxt] fix SSR mismatch warnings with generated id of components
LouisMazel opened this issue · 0 comments
LouisMazel commented
Describe the bug
Nuxt a changé les règles d'hydratation entre le DOM server et le DOM client.
Now the generated uniq id by the components sont détectés comme des mismatches lors de la phase d'hydratation
To Reproduce
- Impletement the MazInput component in dev mode
- Reload the page
- Warnings appear in the console
Expected behavior
No warnings and mismatches
Additional context
The hook useId will be released in v3.5 of Vue: Source
In the meantime we can provide an ID to the component to fix this error