I really like how with React (and a few others) you can make a quick abstraction in the same file for a repeated chunk of the render. Sometimes something warrants pulling out into a function for reusability but it doesn’t quite pass the bar to justify its own file as a component - I know there’s some template stuff coming in Svelte 5, so hopefully that scratches the itch.
Unfortunately, a white background is the default for webpages in most (all?) browser user-agent style sheets, so while the PWA loads its own styles (which will override the white with black) you will see white. This may last for more or less time depending on if the PWA is cached, how its assets are handled by its service worker, how fast your network is, how fast your phone is, etc, but it’s not something that can be “fixed” in all cases by the app/site developer - you’ll need the browser vendor to address it (don’t hold your breath).
@andrewbrey
@lemmy.world