2022-05-19
2460
#netlify#react#typescript
John Reilly
12019
May 19, 2022 ⋅ 8 min read

Build a progressive web app (PWA) with React

John Reilly MacGyver turned Dev 🌻❤️ TypeScript / ts-loader / fork-ts-checker-webpack-plugin / DefinitelyTyped: The Movie

Recent posts:

Radix Ui Adoption Guide Overview Examples And Alternatives

Radix UI adoption guide: Overview, examples, and alternatives

Radix UI is quickly rising in popularity and has become an excellent go-to solution for building modern design systems and websites.

Nefe Emadamerho-Atori
Apr 25, 2024 ⋅ 11 min read
Understanding The Css Revert Layer Keyword, Part Of Css Cascade Layers

Understanding the CSS revert-layer keyword

In this article, we’ll explore CSS cascade layers — and, specifically, the revert-layer keyword — to help you refine your styling strategy.

Chimezie Innocent
Apr 24, 2024 ⋅ 6 min read
Exploring Nushell, A Rust Powered, Cross Platform Shell

Exploring Nushell, a Rust-powered, cross-platform shell

Nushell is a modern, performant, extensible shell built with Rust. Explore its pros, cons, and how to install and get started with it.

Oduah Chigozie
Apr 23, 2024 ⋅ 6 min read
Exploring Zed, A Newly Open Source Code Editor Written In Rust

Exploring Zed, an open source code editor written in Rust

The Zed code editor sets itself apart with its lightning-fast performance and cutting-edge collaborative features.

Nefe Emadamerho-Atori
Apr 22, 2024 ⋅ 7 min read
View all posts

7 Replies to "Build a progressive web app (PWA) with React"

  1. Great article to get started with PWA and being smart about breaking up code.

    Just wanted to point out something small that needs to be corrected in your article (where you break up the code in different chunks):

    It currently states:
    Note that we now have multiple *.chunk.js files: our initial main.*.chunk.js, then 3.*.chunk.js representing Home.tsx, and 4.*.chunk.js representing Home.tsx.

    As you can see you named them both Home.tsx instead of 1 About.tsx and 1 Home.tsx

  2. Two questions! So does create react totally handle what goes on in the service worker? I watched a tutorial where this logic was written manually, but it was not create react app.

    With a PWA is there any any difference in how we handle react state, for example the context api? Thank you.

  3. These days it is not necessary to write three different applications (web, ios, android).
    Take a look at react-native (ReactJS for IOs/Android) or Xamarin (C# for Android and IOS).
    But of course, a PWA nevertheless saves this effort independent from which second app you create.

Leave a Reply