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.
git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd react-twitter-save-data-loading(hook)
npm install
npm start
npm run build