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:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 ⋅ 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 ⋅ 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 ⋅ 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 ⋅ 5 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