ObSeSSeN
Hydration hell - A simple loading state on a Nuxt UI button
I also opened an issue on Nuxt here https://github.com/nuxt/nuxt/issues/31296
79 replies
Hydration hell - A simple loading state on a Nuxt UI button
@Omnislash , @Kal I have put together a small example in StackBlitz (https://stackblitz.com/edit/nuxt-starter-3c8vwwjq) using a custom button component and switching its loading and disabled state in different sequences. I found that going from a loading state to a loaded state works fine in Chrome, but causes issues in Firefox when refreshing the page. Going from a loaded state to a loading state works fine in both. The only dependency used is Tailwind, which I would imagine should not make a difference.
79 replies
Hydration hell - A simple loading state on a Nuxt UI button
Just a not on how I'm viewing the issue. If I open the Stackblitz in Chrome, clear the console and refresh the preview everything is fine. If I do the same in Firefox I get a hydration error.
79 replies
Hydration hell - A simple loading state on a Nuxt UI button
I found a working playground with v2 and same problem there
https://stackblitz.com/edit/nuxt-ui-ekwj75tb?file=app.vue
79 replies
Hydration hell - A simple loading state on a Nuxt UI button
Anywhere I want to start from a loading state and then load the data through Pinia this happens. I was trying a million different things and then decided to do this simple example, wich also gave me the same error 🙈
79 replies
Hydration hell - A simple loading state on a Nuxt UI button
It gives me the same thing in FF...
But I noticed something else, if I do a hard refresh in FF (CMD+Shift+R) it loads fine. If I then do a normal refresh (CMD+R) it gives me the error. 😕
79 replies