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.
Read the full setup guide
Code placement, published-site checks and limitations 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.