Building Progressive Web Apps with Next.js
Buckky Moral
نُشر:
لم يُترجم هذا المقال بعد. يُعرض بلغته الأصلية.

الملخص
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));
}
التعليقات
جارٍ تحميل التعليقات…