picostitch
crafting (and) JavaScript

pwa-install – First Impressions

I tried https://github.com/khmyznikov/pwa-install the demo site is here https://khmyznikov.com/pwa-install/ and it works amazing, it shows a nice install and instructions on iOS and MacOS which are the tricky platforms since Apple is not too keen on supporting PWAs too well.

but when i looked the file I will ship: dist/pwa-install.es.js and I see it has 83.6 KB I am not sure anymore. I see webpack in there, I see the word "react" a lot, not sure if it is built with react or for react, anyways it feels it is bloat I dont want. So I will go and learn from it.

looking deeper into it, it is built with lit ... pooh, glad it is so, maybe the size results from the locales, I will have to check

the issue 110 https://github.com/khmyznikov/pwa-install/issues/110 shows how to optionally install this file, which I like a lot, since this will not ship all the bloat all the time. i might go this route, since i need product dev speed right now and this feature is quite essential