- 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.
- 現(xiàn)代C++編程:從入門到實(shí)踐
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(第三版)
- Visual Basic .NET程序設(shè)計(jì)(第3版)
- Linux C/C++服務(wù)器開發(fā)實(shí)踐
- Android 7編程入門經(jīng)典:使用Android Studio 2(第4版)
- Ray分布式機(jī)器學(xué)習(xí):利用Ray進(jìn)行大模型的數(shù)據(jù)處理、訓(xùn)練、推理和部署
- Processing互動編程藝術(shù)
- 你不知道的JavaScript(中卷)
- INSTANT Django 1.5 Application Development Starter
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)
- C語言程序設(shè)計(jì)
- 利用Python進(jìn)行數(shù)據(jù)分析
- Learning Apache Cassandra
- Odoo 10 Implementation Cookbook
- C語言程序設(shè)計(jì)習(xí)題與實(shí)驗(yàn)指導(dǎo)