DEV Community

Discussion on: How to build a PWA from scratch with HTML, CSS and JavaScript ?

Collapse
 
tygari profile image
Tygari

This is a how not to do a teaching lesson. Lots of unnecessary code that goes off topic making it confusing. Shows no pictures or examples of run code to help someone trying to follow along make sure their doing it right. For expert programmers this may be a great discussion. But for amateur programmers this fails to get the information across.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

But suddenly we're including manifest.json, service workers, asset caching?

Most definitions of PWA include a manifest and service workers.

Collapse
 
kenbellows profile image
Ken Bellows • Edited

The manifest, service worker, and asset caching are what make it a PWA. Without those it's just a web app, not a PWA

And I mean, you don't need any of those things for a SPA. Every SPA doesn't need to be a PWA. But there are big advantages to PWAs, and this article shows that the few most important extra steps really aren't that hard.