Community Q&A — browse recent questions or post your own.
No published questions yet. Be the first to ask.
Email updates when we publish new posts and highlights.
Building Progressive Web Apps with Next.js
Buckky Moral
Published:

Abstract
Create fast, reliable PWAs that work offline using Next.js.
What are PWAs?
Progressive Web Apps combine the best of web and mobile apps.
Service Workers
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js')
.then(reg => console.log('SW registered', reg))
.catch(err => console.log('SW error', err));
}
Comments
Loading comments…