I expect that when calling hydration, the entire DOM will be preserved and all reactivity/interactivity and events will be bound to it. However, I see that when calling hydration, all (even static) DOM is rendered.
Is this incorrect work of van.hydrate or am I doing something wrong?
For example, I modified the basic example: https://codesandbox.io/p/devbox/solitary-dream-fmqz28
Similar example in Vue (no re-rendering occurs): https://stackblitz.com/edit/vue-ssr-example-irrowjm5?file=client.js (auto-activation of hydrate after 7 seconds)
I expect that when calling hydration, the entire
DOMwill be preserved and all reactivity/interactivity and events will be bound to it. However, I see that when calling hydration, all (even static)DOMis rendered.Is this incorrect work of
van.hydrateor am I doing something wrong?For example, I modified the basic example: https://codesandbox.io/p/devbox/solitary-dream-fmqz28
Similar example in
Vue(no re-rendering occurs): https://stackblitz.com/edit/vue-ssr-example-irrowjm5?file=client.js (auto-activation of hydrate after 7 seconds)