• douglasg14b@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    What are you talking about…? Please re-read my comment above :/

    An electron app is a natjve application that renders a browser based UI. You appear to be conflating the browser-based UI with the whole “native application” thing.

    It comes with all the advantages a native application does, like having hardware access, working natively offline, working with the filesystem, interfacing with the OS and installed OS packages, being able to use other native binaries, being able to use more native networking capabilities…etc

    Sure lots of electron applications that people make could just be a web app, I’m not arguing that.

    I am, however, pointing out that you are grossly incorrect that electron (and all other technologies like it, we’re not really just talking about electron here) is 'just a web app". It’s a native application server and a web-based UI, which means I can write an application in C# with all of the .Net advantages, with a web UI, that runs natively on your device for example.

    This lets me ship a product much faster than if I was going to build that UI in QT or GTK, with a significantly upgraded user experience that is consistent across all platforms.

    • Moonrise2473@feddit.it
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      ok, but in this case, it’s just a webview of mail.proton.me

      it doesn’t have hardware access, it doesn’t work offline (technically, if it cached the files it can work offline, but can’t work offline-offline like thunderbird), it doesn’t work with the filesystem, it doesn’t interface with the OS and installed OS packages, it doesn’t use other native binaries, doesn’t use more native networking capabilities, etc…

      from what i saw, the electron apps that are to be considered real apps and not just a lazy webview around the webapp are:

      • bitwarden
      • crickets
      • douglasg14b@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Like I said, I’m not arguing that many apps are built as electron apps when they’re just glorified web apps. Though I’m neutral on whether that’s a bad thing or not. I’m definitely against apps being built with electron that don’t really have UIs, defeating the entire point of electron and friends…

        VSCode is another example you’re missing. And they have put a LOT of work into making as many features available in the web-version as possible, the feature parity isn’t an accident.

        Or Obsidian.

        Examples aside, you might be surprised by applications you may not think of as not using native features, that rely heavily on them, expecting to be executing in a Node environment and not a browser one. Especially on the networking and process side. Browsers are extremely restrictive.