A demo showing how to use network-aware resource loading in React.js using only-if-cached
mode in fetch request.
This project was bootstrapped with Create React App.
git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd cra-network-aware-only-if-cached-loading
npm install
npm start
npm run build