• Dr. Wesker@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      Everything is a webapp now. I’m even guilty of this, because it’s easier to create a webapp hosted on my server that any workstation, laptop, or mobile device can access at a specific endpoint and get a specific experience. Versus installing the app locally on each machine, and trying to sync the configs and shared resources.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        It doesn’t matter that they’re webapps, any kind of app that has an UI should separate structure from presentation from code. That’s literally what HTML, CSS and JS/TS are for.

        You can do it with just code but it’s a bad idea that was proven wrong in the 90s or earlier. But trust the web to always reinvent the wheel badly.

      • entwine@programming.dev
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        2 days ago

        Sure, but web apps can and should be built with pure HTML/CSS/JS. The modern browser engine is incredibly powerful, and there are very few reasons to choose a framework like React today. If we ignore the clueless vibe coders, I think the reason devs still use front end frameworks is just familiarity and maybe some laziness.

        I did it recently on a new project and it was a much smoother experience than I was expecting. It’s a multi-page client that talks to a CouchDB backend, all in a single git repo that’s 100% JS/HTML/CSS with zero dependencies.

        The only extra complexity is a CI minify/bundling step, and a simple build system I wrote to manage CouchDB stuff (although that doesn’t count because it’s “backend”)