These days, developer experience (DX) is often the strongest case for using JavaScript frameworks. The idea is simple: frameworks improve DX with abstractions and tooling that cut boilerplate and help developers move faster. The tradeoff is bloat, larger bundles, slower load times, and a hit to user experience (UX).

But does it have to work like that? Do you always have to trade UX for DX? And are frameworks really the only path to a good developer experience?

  • bitfucker
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    Now this puts a question for native platform. If web technology managed to get more and more approval to get native access like Web Bluetooth, should we move apps to the web instead? We have web authn as secure hardware backed secret storage. Personally, I like it if everything is not a native app.

    The other extreme is if the native platform provides the same interoperability and standard as web. Would you prefer every complex web to be a sandboxed native app instead? Say a youtube streaming desktop app.

    • Kissaki
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      Given the nature of Steam and previous executed data extraction, I’m scared installing and running niche/indie games now. Windows lacks

      A unified GUI framework hasn’t happened yet, not between OSes, nor really within each OS ecosystem. I’m not hopeful about leaps in native interoperability in that regard.

      Web tech interoperability is so established and widely used, packaging and running those natively seems much more viable than any hope for supposed native long term efforts.

      Not everything will be covered by web tech. But for many things, it’s already viable, and exploring native integration of these web technologies is interesting.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Mozillas vision of phone apps was this. It’s one reason PWAs were made and part of why WASM is where it is. One of the largest barriers to adoption against it is that apps allow for tight control from the dev, not just technically, but also from a legal standpoint. For that reason I would rather have PWAs myself, a lot of apps actually suck and are just full of dark patterns.

      • ☭ghodawalaaman☭
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        So basically dev develop app to have more control over you which simple website simply not provides

        • bitfucker
          link
          fedilink
          arrow-up
          2
          ·
          10 hours ago

          Correct. The degree that a native app could invade your privacy on the desktop is insane. For mobile, thanks to sandboxing it has a much smaller surface but still annoying nonetheless when an app could just be a web. Especially if all they do is just a glorified form filing app.