A demo showing how to use CPU (hardware-concurrency) considerate code-splitting in React.js. This demo will conditionally load a static product image when in a "Slow CPU" mode or a product view with magnifier when on a higher-end device.
This project was bootstrapped with Create React App.
git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd cra-hardware-concurrency-considerate-code-splitting
npm install
npm start
npm run build