vue-lazy-hydration
vue-lazy-hydration copied to clipboard
hydrateWhenVisible sometimes doesn't fire on first load
trafficstars
Hi,
I'm having an issue where hydrateWhenVisible doesn't fire on first load ie. the elements/components are left empty but when I do a reload of the page the elements load fine. Any ideas what might be causing this? (using in Nuxt 2.15.8)
Artists: () => hydrateWhenVisible(import("@/components/artists_HScroll")),
The data for the element is fetched in asyncData()