• Lemminary
    link
    fedilink
    02 months ago

    Can we not do away with CSS/JS, learn from those mistakes and try something else? Pls, I beg you 🥺🙏

    • @[email protected]
      link
      fedilink
      02 months ago

      The first pass of elm ecosystem solved it. Before elm, it was also solved by other frameworks. But people wanted to be able to reuse their components and not rebuild new ones. React provided the ability to reuse css, and dirty js code in the middle of your application. You already had an way bigger ecosystem because you didn’t have to learn and built a complete new system again.

      Personally if I had the choice I believe a new start should start at the browser level. Stop supporting HTML/CSS/JS. Create a new app-centric DSL and not a document centric one like html/css/js.

      Ideally something inspired from cocoa layout. And I am dreaming but not accept generic code on the client side and only support a small controlled API. It would solve so many security issues. Sure, the creativity in such an ecosystem will be severely reduced. But we will have a so much improved UX.

      • @[email protected]
        link
        fedilink
        02 months ago

        I get the reasoning but anything like that would just be abused to enshittify things further with unblockable ads and enforced DRM on everything. At least with the open standards there is the ability to adblock and manipulate certain annoyances at a browser level

    • @[email protected]
      link
      fedilink
      02 months ago

      What would you replace it with? There are lessons to be learnt from the web, but to “fix” it is much harder