0zguner / adaptive-loading

Demos for Adaptive Loading - differentially deliver fast, lighter experiences for users on slow networks & devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adaptive Loading

An exploration into loading and rendering the most suitable version of a component based on signals exposed to the web (network, CPU, memory etc).

Source & Components

This repo contains several different pieces for the Adaptive Loading project: React Hooks, patterns for adaptive loading with different Web Platform signals and full applications.

Adaptive Loading patterns

Data Saver-style patterns

Full applications

Deployment

Create Firebase Project by logging in to console.firebase.google.com and replace the default value in /.firebaserc and /functions/.firebaserc with the created Project ID. Or simply copy the default value from /.firebaserc or /functions/.firebaserc and paste as the Project ID when creating the Firebase Project.

Function deployment

firebase init functions

Skip Overwrite options by entering No

firebase deploy

Host deployment

npm run build
npm run deploy

Team

This project is brought to you by Addy Osmani and Anton Karlovskiy.

About

Demos for Adaptive Loading - differentially deliver fast, lighter experiences for users on slow networks & devices

License:Apache License 2.0


Languages

Language:JavaScript 62.7%Language:CSS 27.9%Language:HTML 8.8%Language:Shell 0.7%