News for hackers. Stuff that matters.
Re:Bring back PWA (progressive web apps) by csw-001 on Tuesday March 01, 2022 @06:29PM (#30521505)
Isn’t every Electron app essentially a PWA? Or am I misunderstanding the definition of PWA?
Re:Bring back PWA (progressive web apps) by Bilal_io on Tuesday March 01, 2022 @07:05PM (#30521804)
A progressive web app does not require you to download an executable. You simply install it from the browser.

Here is an example https://mdn.github.io/pwa-examples/js13kpwa/

You should be prompted to install or add the app to your home screen, depending on the platform and browser you're using.

Another big example of a pwa I use is Twitter on the desktop.

Re:Bring back PWA (progressive web apps) by 7sidedmarble on Tuesday March 01, 2022 @07:12PM (#30521855)
The features that are core to how PWAs work really don't even need you to install the site per se. The caching and stuff works without installing it.
Re:Bring back PWA (progressive web apps) by Bilal_io on Tuesday March 01, 2022 @07:16PM (#30521898)
Correct. "Installing" is more like creating a shortcut that looks like any other app, at least on Android and Windows.
Re:Bring back PWA (progressive web apps) by bkyiuuMbF on Tuesday March 01, 2022 @07:58PM (#30522266)
It seems close to pointless, but a dedicated window per PWA pinned to your taskbar/start menu is handy. It also doesn't get clustered together with other browser windows which I like. And the icon is visually different. If you don't want the feature then you just don't install the "app" (strong word for it). I like it for a couple of things (JIRA, email) but not others (social media). I wish they hadn't removed the feature and I'm probably going to switch browsers because of it although I'm loathe to do so.
Re:Bring back PWA (progressive web apps) by aaaaaaaaata on Wednesday March 02, 2022 @12:46PM (#30530227)
With the potential for contextual menu, and some stored local data, mhmm.

It's really a UX thing.

So glad it's getting more attention.

Re:Bring back PWA (progressive web apps) by csw-001 on Wednesday March 02, 2022 @08:48AM (#30527262)
Gotcha! That makes more sense to me now.
Re:Bring back PWA (progressive web apps) by javchz on Wednesday March 02, 2022 @11:30PM (#30537187)
A PWA it's a lot better. With electron, each app had their own browser as a dependency. So if you have discord, vs code, slack, notion, Figma, you basically have 5 versions of chrome installed (like 60mb each minimum).

Instead a PWA it's more like a WebView/Direct access that uses the main browser with some extra APIs that a webpage doesn't have, but that's it. It's a lot safer as you don't need to install another version of chrome