Skip to content

Simple React PWA setup using Webpack, Workbox and TypeScript

Notifications You must be signed in to change notification settings

fgerschau/react-pwa-boilerplate

Repository files navigation

Getting started

yarn install
yarn start

Debugging service workers

You may have noticed that running yarn start doesn't register any service workers.

That's because offline capabilities are confusing during development since you would always see the cached version instead of the latest one with your changes.

You can debug service workers locally by building the production bundle and serving it like this:

yarn run build
yarn run serve