- Progressive Web Apps with React
- Scott Domes
- 195字
- 2021-07-08 09:36:13
Progressive enhancement
The bottleneck of performance with any React application is downloading and running the JavaScript. Our entire application code will be contained in JavaScript files--and our app won't work until those are executed. That means our users may be stuck staring at a white screen (with zero functionality) until that JavaScript is ready to go.
Progressive enhancement is a technique that aims to fix that problem. In essence, it means that a user's experience should get progressively better as the application downloads, depending on the user's browser. In other words, the application experience improves as time goes on (and more of the application downloads), and as a user's software improves.
A user with the most modern browser, the fastest internet connection, and the application fully downloaded will have the best experience, but a user with an outdated browser, a shaky connection, and who just landed on the page will also have a quality experience.
This means our React.js application needs to have some functionality without any JavaScript. This is a fun challenge.
Think of our UX as a series of layers, from good to fantastic, that we build up as time goes on.
- 玩轉Scratch少兒趣味編程
- Java 開發從入門到精通(第2版)
- PaaS程序設計
- Arduino開發實戰指南:LabVIEW卷
- HTML5+CSS3基礎開發教程(第2版)
- Hands-On JavaScript High Performance
- Angular開發入門與實戰
- AIRIOT物聯網平臺開發框架應用與實戰
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- 從零開始學UI:概念解析、實戰提高、突破規則
- Get Your Hands Dirty on Clean Architecture
- 百萬在線:大型游戲服務端開發
- 征服C指針(第2版)
- 從“1”開始3D編程
- 軟件再工程:優化現有軟件系統的方法與最佳實踐