vue-lazy-hydration icon indicating copy to clipboard operation
vue-lazy-hydration copied to clipboard

Disable hydration after full page load

Open kedrzu opened this issue 4 years ago • 0 comments
trafficstars

Some time ago I filled an issue https://github.com/maoberlehner/vue-lazy-hydration/issues/88

I found that an easy way to fix this is to disable the hydration once the page is fully loaded and all hydration is finished. Once you complete the hydration any further navigation will happen in SPA mode, so no more hydration will ever occur. Also, it may have some additional performance benefit, because we don't have to mount IntersectionObservers or idle callbacks when they are not needed anymore.

kedrzu avatar Sep 10 '21 12:09 kedrzu