Skip to content

Latest commit

 

History

History

react-twitter-save-data-loading(hook)

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Demo: React-twitter save-data resource loading in React.js

Live Demo

This is a demo of the Twitter timeline implemented using React and the Save-Data Hook based on navigator.connection.saveData. It determines whether to load low-fidelity or high-fidelity images based on the user's Data Saver (Lite Mode) preferences on Chrome for Android.

This project was bootstrapped with Create React App.

Installation

git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd react-twitter-save-data-loading(hook)
npm install
npm start
npm run build

Glitch Source