InstantPWA on React
Because InstantPWA runs at the DOM level, you don't need a React component, hook or provider. Paste it into public/index.html and the widget renders on top of your React tree.
Install: Full support
Web push: Full support
Framework-agnostic — no React version pinning.
How to set it up
- 1
Open public/index.html
Or index.html in Vite projects.
- 2
Paste the snippet before </body>
It won't interfere with React's root mount.
- 3
Run your dev server
The popup is visible in dev and production.
Want the full technical guide?
Manifest, service worker and code samples for React.
FAQ
Does it conflict with React Router or React Query?+
No — it lives entirely outside the React tree and doesn't touch history or fetch APIs.