Yes, the hydration behavior of custom elements is nice. You don’t even need to do anything special with JS bundle loading.
Simply render your <element> (server-side is fine) and whenever the JavaScript downloads and executes your custom elements will mount and do their thing.
They should just do something like have parental controls that can configure the user agent with the user’s age, and require adult websites to not serve underage users.
It wouldn’t deter kids if you want to let them have unsupervised root access to a computer (like I enjoyed when I was 12), but I think it would be fairly effective for a walled garden like an iPhone
It’s been a long time since I used it but an iOS subsonic client I used to use (I think it was iSub) had better local-first / offline behavior than Apple Music or Spotify.
reply