Skip to content

Latest commit

 

History

History

cra-hardware-concurrency-considerate-code-splitting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Demo: CPU considerate considerate code-splitting with React

Live Demo

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.

Installation

git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd cra-hardware-concurrency-considerate-code-splitting
npm install
npm start
npm run build