프로젝트
GitHub에서 보기
GoogleChromeLabs/adaptive-loading
소개
Demos for Adaptive Loading - differentially deliver fast, lighter experiences for users on slow networks & devices
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAdaptive 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
- Network-aware loading with create-react-app (demo)
- Network-aware only-if-cached loading with create-react-app (demo)
- Network-aware code-splitting with create-react-app (demo)
- Network-aware data-fetching with create-react-app (demo)
- Battery considerate loading with create-react-app (demo)
- Memory considerate loading with create-react-app (demo)
- Memory considerate loading (SketchFab version) with create-react-app (demo)
- Memory considerate animation-toggling with create-next-app (demo)
- Device-class aware code-splitting (demo, Moto G4, Galaxy S7)
- Hardware concurrency considerate code-splitting with create-react-app (demo)
- Hardware concurrency considerate loading with create-react-app (demo)
- UA-aware code-splitting with create-react-app (demo)
- DPR(Client Hint)-aware loading with node-app (demo)
- Memory(Client Hint) considerate loading with node-app (demo)
- Network(Client Hint)-aware loading with node-app (demo)
- Network & Memory(Client Hints) considerate loading with node-app (demo)
Data Saver-style patterns
- React Twitter - save-data loading based on Client Hint (demo, WPT)
- React Twitter - save-data loading based on Hook (demo)
Full applications
- React Movie - network-aware loading (demo)
- React Shrine - network-aware code-splitting (demo)
- React eBay - network-aware code-splitting (demo)
- React Dixie Mesh - memory considerate loading (demo)
- React Lottie - network-aware loading (demo)
- React Youtube - adaptive loading with mix of network, memory and hardware concurrency (demo)
- Next Show - adaptive loading with mix of network, memory and Client Hints (demo, WPT)
Deployment
npm run build
npm run deploy
Team
This project is brought to you by Addy Osmani and Anton Karlovskiy.
관련 프로젝트 살펴보기
불러오는 중…