Vue 3 has a universal <Lazy> component that can be used to delay and schedule rendering. It can be set up to be used by the IntersectionObserver utility to observe the DOM. Vue can use this template to observe a real DOM element to pass it to a ref to be rendered.

9m read timeFrom medium.com
Post cover image
Table of contents
<Lazy> rendering in Vue to improve performanceLet’s get <Lazy>Intersection ObservingPrerenderingLarge lists and Unrendering content

Sort: