This is a demo of the Twitter timeline implemented using React and the Save-Data Client Hint. 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 and Node.js/Express.js for server side.
git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd react-twitter-save-data-loading(client-hint)
npm install
npm start
npm run build
npm run server