New Web PWA Capabilities/APIs as one Package. All stable in Chrome 80 and later versions, also in MS Edge and Firefox.
Install pwafire package
npm i pwafire
Import pwafire in your react app
import pwafire from "pwafire"; const pwa = pwafire.pwa;
Or require the pwafire npm package
const pwafire = require("pwafire"); const pwa = pwafire.pwa;
Here is the documentation guide to add the new APIs to your PWA via npm.
Add pwafire at the bottom of the HTML, but before you use any PWA Capability
<script crossorigin src="https://pwafire.org/code/cdn/releases/@latest/pwafire.js"></script>
Here is the documentation guide to add the new APIs to your PWA via cdn.
We currently have the following stable Capabilities. This this documentation guide shows you how to use each of them.
More of New Web Capabilities will be added. Have a look at the Google's Project Fugu