Skip to main content
XenonStack

Enterprise Digital Platform

XenonStack Insights Progressive Web Apps in React: A Current Guide

| Published | Updated

Progressive Web Apps in React: A Current Guide
7:11
Progressive web apps in React: one codebase, manifest, service worker and installable offline-ready app

Key takeaway

  • Learn what a progressive web app is, the service worker and manifest basics, and how to build a React PWA now that Create React App is deprecated.

A progressive web app (PWA) is an app built with web platform technologies that gives users an experience like that of a platform-specific app. Like a website, it runs on multiple platforms and devices from a single codebase; like a native app, it can be installed, work offline and integrate with the device.

This guide is for React developers and product owners deciding whether a PWA fits their product. It covers what makes an app progressive, the technologies involved, how to build one in React today, including an important change to the old Create React App route, and what to check first.

What is a progressive web app?

The MDN guide to progressive web apps defines a PWA as "an app that's built using web platform technologies, but that provides a user experience like that of a platform-specific app." It lists four benefits: it runs on multiple platforms and devices from a single codebase, it can be installed on the device, it can operate while offline and in the background, and it can integrate with the device and with other installed apps.

Two-column diagram. Build steps: create the app, add a manifest, register a service worker, serve over HTTPS. User gets: one codebase, installable, offline use, device integration.

That single codebase is the main appeal for teams. Instead of maintaining separate builds for each platform, one web application serves browsers and, once installed, appears and launches like any other app. For the wider picture, see our guide to progressive web app development and architecture and the Google Lighthouse tool.

What technologies make an app progressive?

Three pieces do most of the work. MDN describes the service worker APIs as grouped into communication with the app, offline operation and background operation. It describes the web app manifest as the way developers "describe a PWA, customize its appearance, and more deeply integrate it into the operating system." The third piece is a secure connection, which MDN's PWA tutorial treats as a distinct step.

TechnologyRole in a PWAWhat to decide
Service workerRuns in the background and lets the app work offline, handle background tasks and talk to the pageWhich resources to cache and how to refresh them
Web app manifestDescribes the app and its appearance, and helps integrate it with the operating systemName, icons, start page, display mode and colours
Secure connection (HTTPS)Serve the app over a secure connectionCertificates and hosting that support HTTPS
Caching strategyDecides what is stored locally for offline useWhich pages must work with no network

Typical manifest fields include a short name, a full name, icons in several sizes, a start URL, a display mode, a theme colour and a background colour. Check the current list in MDN's web app manifest reference before you rely on a field.

How do you build a PWA in React today?

Older tutorials, including earlier versions of this guide, start with the command npx create-react-app. That route has changed. In its React team announcement on Create React App of 14 February 2025, the React team said it was "deprecating Create React App for new apps, and encouraging existing apps to migrate to a framework, or to migrate to a build tool like Vite, Parcel, or RSBuild." It gave the reason that Create React App "currently has no active maintainers". Existing apps keep working in maintenance mode, and the announcement does not mention PWAs or service workers, so check your chosen tool's own documentation for offline support.

The announcement recommends creating new React apps with a framework, naming Next.js, React Router and Expo, and it names Vite, Parcel and Rsbuild for custom setups. The PWA steps themselves do not depend on the tool:

  1. Create the React app with a framework or build tool from that list.
  2. Add a web app manifest and link it from the HTML page.
  3. Register a service worker and decide what it caches for offline use.
  4. Serve the app over a secure connection (HTTPS).
  5. Test installation and offline behaviour in a real browser, then audit the app.

What are the strengths and limits of a PWA?

TraitLike a websiteLike a platform-specific app
PlatformsRuns on multiple platforms and devices from a single codebaseBuilt for one platform
InstallationOpens in a browserCan be installed on the device and launched from the operating system
Offline and backgroundNeeds a connection unless a service worker is addedCan operate while offline and in the background
Device integrationLimited to what the browser exposesIntegrates with the device and other installed apps

Because device integration depends on browser support, test the features your product needs on the browsers your users run. MDN's best-practice guidance says PWAs should adapt to different browsers and devices, be accessible, perform well and integrate well with the operating system. For design and security considerations, read user experience design, tools and principles, customer experience and user experience and website security: benefits, tools and measures.

How do AI agents change PWA development?

AI agents can take on the repeatable parts of this work: checking that a manifest is valid on every build, running installation and offline tests across browsers, and flagging regressions in an audit before release. People still decide what the app caches and which features are worth shipping. A platform such as ElixirClaw, the AI agents computing platform, is where testing and automation agents can be built and governed.

What should you do first?

  1. List the user journeys that must work with no network.
  2. Choose a framework or build tool from the current React recommendations.
  3. Write the manifest and decide the caching rules for those journeys.
  4. Serve over HTTPS and test installation on the browsers your users have.
  5. Add the audit and offline tests to your release pipeline. If you want design help, talk to a product design expert.

To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is a progressive web app?

A progressive web app is an app built with web platform technologies that provides a user experience like that of a platform-specific app, according to MDN.

What do you need to make a React app a PWA?

A web app manifest, a service worker that decides what is cached, and a secure connection. A framework or build tool creates the React app itself.

Is Create React App still recommended?

No. The React team deprecated Create React App for new apps on 14 February 2025 and recommends a framework or a build tool such as Vite, Parcel or Rsbuild.

Can a PWA work offline?

Yes. MDN describes service worker APIs that let an app work offline and perform tasks in the background.

Can a PWA be installed on a device?

Yes. MDN says being installable on the device is one of the defining aspects of a PWA.

Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue