Danny Moerkerke(@dannymoerkerke) 's Twitter Profileg
Danny Moerkerke

@dannymoerkerke

PWA and Web Components specialist, creator of https://t.co/bzSvDtbkSd. I write about what the modern web can do.
Email list: https://t.co/8lJLhE1TOW

ID:347413292

linkhttps://modern-web-weekly.ghost.io/ calendar_today02-08-2011 19:21:14

3,7K Tweets

2,5K Followers

879 Following

Danny Moerkerke(@dannymoerkerke) 's Twitter Profile Photo

PWAs are not perfect (yet) but at least you won’t be kicked out of the App Store if Apple doesn’t like your app

account_circle
Danny Moerkerke(@dannymoerkerke) 's Twitter Profile Photo

This turned out to be an issue in the Service Worker itself.

The entry URL '/index.html' is cached but '/' was not, although this worked fine in the past if I recall correctly.

The remaining issues are still that the behaviour of the app in Safari on MacOS is different from…

account_circle
Lea Verou(@LeaVerou) 's Twitter Profile Photo

caveat that may throw you if you don’t know about it: it’s very hard to slot elements in named slots while keeping the default slot empty, since any indentation will become blank slots, thus making the default slot have slotted nodes. 🤦🏽‍♀️

Demo:…

account_circle
Danny Moerkerke(@dannymoerkerke) 's Twitter Profile Photo

Offline for PWAs is again seriously broken on iOS.

When I put my iPhone in flight mode and open the app in Safari it works fine offline but when I install the app and try to open it while offline it fails miserably.

When I open the installed app first and then go offline it…

account_circle
Danny Moerkerke(@dannymoerkerke) 's Twitter Profile Photo

Remote debugging a PWA running on iOS is still a PITA.

Service Workers simply don't show up in the Develop menu and console logs from a Service Worker are not shown.

This makes debugging a matter of trial and error and it's really starting to annoy me.

If there's a will you…

account_circle
Danny Moerkerke(@dannymoerkerke) 's Twitter Profile Photo

View Transitions are now in Safari Tech Preview 192 and can be enabled by enabling the feature flag (Develop > Feature flags)

I modified the demo at What PWA Can Do Today but noticed that not everything works as expected yet.

You can see in the recording below that the flip…

account_circle