With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →
Top 18 JavaScript lazy-loading Projects
-
vanilla-lazyload
LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.
-
lozad.js
🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
vue-content-placeholders
Composable components for rendering fake (progressive) content like facebook in vue
-
react-lazy-load-image-component
React Component to lazy load images and components using a HOC to track window scroll position.
-
loading-attribute-polyfill
Fast and lightweight dependency-free vanilla JavaScript polyfill for native lazy loading / the awesome loading='lazy'-attribute.
-
nuxt-booster
nuxt-booster will help you to improve the lighthouse performance score (100/100) of your website. 🚀
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
react-gallery-carousel
Carousel component 🎠supporting touch, mouse, keyboard, thumbnails, fullscreen, lazy loading, SSR and customisations. 💻 Live editor: https://yifanai.com/rgcd1
-
ecommerce-store-reactjs-stripe-oauth2
This is a fully functional Ecommerce Website which allows the user to login,add products to cart,view products in detail and do the payment through credit card.Built using React,React Router,OAuth2 for user authentication,Stripe for payment and Netlify for deployment.
-
recipe-reactjs-api-firebase
This is a Recipe App which allows the user to login,view recipes,search different recipes and view it in detail.This web app is built using Meals DB API,React,React Router,context api,debounce search functionality,Firebase for user authentication and Netlify for deployment.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Use a JavaScript library to implement lazy loading. There are a number of JavaScript libraries available that can help you implement lazy loading, such as Lazysizes and Lozad.
Project mention: Tips For Building Faster Websites with Efficient CSS Optimisation | dev.to | 2023-08-14Developers also employ alternative methods for lazy loadings, such as the scroll event listener, besides the Intersection Observer API and the loading property. Unlike the Intersection Observer API, which only monitors the elements targeted for lazy loading, developers attach a scroll event listener to every element on the page. Once the element marked for lazy loading is within the visibility range of the user, a function is invoked to switch the image or video URL with the attribute previously holding it, just like with the Intersection Observer API. This approach is costly for a web project. As the developer seeks to optimise page load by integrating lazy loading to some elements on the webpage, the developer slows down the page's performance due to multiple firing of an event as the function meets each element. Moreover, packages for JavaScript that deal with lazy loading exist. For instance, the LazyLoad library uses the Intersection Observer API, a lightweight JavaScript library. It supports many lazy loading features, such as preloading, responsive image loading, and custom loading animations. Additional lazyloading libraries include Yall.js, Lozad.js, LazyLoad XT for jQuery, and many more.
For some reason, I also needed to fix the paths of all the imports of my custom components, services, models, etc, and TSConfig errors (which you can solve by copying the tsconfig from here), but this is a pretty small complaint.
Project mention: Hello everyone - Is there anything I can do to help you today? | /r/webdev | 2023-06-06Would you have a quick look at this JS library and tell your impressions about it? Is it useful at all, or what could be done to improve it? (beside English writing) Thanks.
JavaScript lazy-loading related posts
-
Tips For Building Faster Websites with Efficient CSS Optimisation
-
How to Lazy Load Html Videos
-
Lazy load all images top to bottom
-
Native lazy-loading - Why doesn't the video element have it?
-
Beginners Guide to Web Performance: Optimizing Images
-
Made a hook to lazy load hooks despite rule-of-hooks, I need people to test it on their projects so I can make the associated babel transform more robust.
-
The best approach to lazy load images for maximum performance
-
A note from our sponsor - SurveyJS
surveyjs.io | 8 May 2024
Index
What are some of the best open-source lazy-loading projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | vanilla-lazyload | 7,579 |
2 | lozad.js | 7,410 |
3 | vue-content-placeholders | 1,590 |
4 | react-lazy-load-image-component | 1,366 |
5 | yall.js | 1,359 |
6 | loading-attribute-polyfill | 615 |
7 | nuxt-booster | 574 |
8 | react-on-screen | 402 |
9 | react-gallery-carousel | 212 |
10 | angular-ssr | 181 |
11 | skeleton-elements | 131 |
12 | next-lazy-hydrate | 76 |
13 | zuix | 69 |
14 | ecommerce-store-reactjs-stripe-oauth2 | 58 |
15 | LazyAdsense | 5 |
16 | use-imported-hook | 4 |
17 | recipe-reactjs-api-firebase | 4 |
18 | ailog | 1 |
Sponsored