• Eager Eagle
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    my favorite JS framework is HTMX for making me write less JS or even none at all.

    • rwhitisissle@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I do a lot of systems and backend programming and HTMX is the only way I can actually be productive with frontend work when I have to do it. It’s so simple and straightforward.

    • MrPoopyButthole
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Me too! I’ve been working with JS for more than 10 years but HTMX + Go has been a welcome transition.

      • NuclearDolphin@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Wait are people writing Go for frontend code now? Or do you mean just replacing the node back end with Go?

          • NuclearDolphin@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Gotcha! I’ll have to look into it. I heard of it being used with Rust, which is probably the only lang I want to use for backend anymore. If it minimizes JS boilerplate, that’s a big win.

      • rwhitisissle@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I’ve heard nothing but good things about HTMX

        I’ve only ever heard anything “bad” about HTMX and it was here on Lemmy, actually. I ran into someone who was absolutely certain that HTMX was unsafe by design because it leveraged HTML over the wire and was therefore susceptible to HTML injection attacks, specifically by injecting malicious scripts that could be ran from domains you didn’t control. I tried explaining that proper utilization of access-control headers innately prevented this because they worked on the browser level and couldn’t be intercepted or interfered with by HTML injection by design, but he kept insisting it was unsafe while refusing to elaborate. He was very wrong, of course, but also very confident.

    • NigelFrobisher@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Started making a rudimentary version of HTMX when Backbone and Knockout were new. Should have stuck with it - everything comes back around eventually in this industry.