Lemmy should rely less on JavaScript.
Currently without JS you can’t even expand the main menu.

Additionally, all those controls should also work without JS.
Or worse option - since they only work with JS, don’t show them when JS is disabled.

  • @efg@lemmy.mlOP
    link
    fedilink
    03 years ago

    “Going for a nojs-first approach would hurt UX a lot, especially on mobile.”

    WTF?!

    • Tmpod
      link
      fedilink
      23 years ago

      It would. If used properly, JS can have really improve UI/UX. Sure, you can make good JS-free pages, but JS can make it easier and arguably better (by being more dynamic, which appeals to a wider audience than static pages).

      • @Echedenyan@lemmy.ml
        link
        fedilink
        1
        edit-2
        3 years ago

        Not having that into account makes it harder when you want to replace it without JS and doing more requests to the server side.

        It is preferable that if you use JS in the begining to make it easier, take into account that possibility.

        Maybe, as a WebDev student I didn’t finish yet and can learn more into the basics, but the things I learned doing a replacement to Disqus in JSP without JS, later compared with the project this year with similar requirements but adding JS in the client side, got me into this.