Lazy loading using the Intersection Observer API. App built with VueJS and bundled using Parcel.
Read article explaining the Intersection Observer API.
$ git clone https://github.com/arnellebalane/lazy-loading-example $ cd lazy-loading-example $ npm install $ npm start # starts a local dev server $ npm run build # builds for production