Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 638 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 638 Bytes

Demo: React-lottie network-aware resource loading in React.js

Live Demo

This is a demo of the Lottie web animation implemented using React and network hook. It determines whether to load Lottie animation or static poster image based on the user's network effective connection type.

This project was bootstrapped with Create React App.

Installation

git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd react-lottie-network-aware-loading
npm install
npm start
npm run build
npm run server