We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy Hydration, introduced in Vue 3.5, does not seem to work with vite-ssg.
index.vue
<script setup> import { defineAsyncComponent, hydrateOnInteraction } from "vue"; const AsyncComp = defineAsyncComponent({ loader: () => import("../components/Counter.vue"), hydrate: hydrateOnInteraction("wheel"), }); </script> <template> <AsyncComp /> </template>
Basically, the Counter should not work until it is hydrated by scrolling the mouse wheel. But it hydrates as soon as the async component is loaded.
The multiple-pages sample + code above
Node 22 vite-ssg 0.24.1
npm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Lazy Hydration, introduced in Vue 3.5, does not seem to work with vite-ssg.
index.vue
Basically, the Counter should not work until it is hydrated by scrolling the mouse wheel. But it hydrates as soon as the async component is loaded.
Reproduction
The multiple-pages sample + code above
System Info
Used Package Manager
npm
Validations
Contributions
The text was updated successfully, but these errors were encountered: