• ledtasso@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      You’re probably joking but just to save people some time, it does not actually recommend HTMX. (I remembered seeing this website a while back but didn’t recall anything about HTMX so had to check.)

  • i_am_hungry@meganice.online
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    1 year ago

    Svelte my man, I barely have to read the docs, just guess how things should be done because that’s how it would work in vanilla JS, and most often it just works.

    • Sören@iusearchlinux.fyiOP
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Svelte is very good. If I had to use a frontend framework I would either pick svelte or soldijs both are great.

    • Kalothar@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Been a react dev for about 4 years now, I’ve heard good things about Svelte. But like from a career perspective would it be worth the switch now?

      • mesamune@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        It’s good to play around with different frameworks from time to time, even if it’s just to form an initial opinion on. I’ve been programming for 15+ years and the only constant is learning new things.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        From a career perspective using it enough to know whether you’d like to or be willing to work with it in the future is probably enough. Then when you’re looking you know whether you want to apply for jobs focused on it.

        On that topic I’ve been on the market and haven’t seen Svelte mentioned a single time when searching, granted I’ve probably only looked at a couple hundred listings (most being WFH).

  • shrugal@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    I personally don’t like the htmx style of coding. It often feels like having to explain what I want to do to someone else using only a limited set of custom words, instead of just doing it myself.

    • Sören@iusearchlinux.fyiOP
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      I understand you but for me it’s the opposite I am not bound to using js for everything and can just return html from the server like I want. Also everything else still works I can write js if I want to. Htmx gives me more words I can use in html not less. Also I can manage the state via the url and the server. In other frameworks I often had the problem that I was writing the same logic twice in backend and frontend.

    • fidodo@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I just peeked at the docs and right off the bat I don’t like how they have conflicting attributes like hx-get and hx-post. What happens if both are set at the same time? Why not just have hx-method?

  • MrPoopyButthole@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I’m good with my Vue, thanks. I hate React though. I can see htmx simplifying some things and being adopted by front-end frameworks. The same way improvements in HTML and CSS have been adopted.

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

        When you say “and”, do you mean together?

        I love Vue, first time I’ve heard of AlpineJS. From my quick searching, they seem pretty similar. What advantages does one have over the other? Thanks :)

        • orca@orcas.enjoying.yachts
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Ah, sorry, that was a bit confusing on my part. I use them entirely separate. Here are some real world examples:

          Vue: new projects that will require multiple components, state management, etc.

          AlpineJS: when I have a tiny project/demo that needs reactivity, or if I have an existing HTML setup that needs state management and reactivity bolted on after the fact (like an old site or something like that).

    • karmiclychee @sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Fellow Vue enjoyer! I love Vue, it’s so friendly. Maintaining a complex React app feels like getting dragged behind a truck down a one way road.

      (Did you like my two way data binding joke there?)

  • 9thSun@midwest.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Listen. I just don’t like that they replaced glass with TV screens that show what’s behind

        • Comment105@lemm.ee
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          1 year ago

          The screens are there to play ads sometimes, and if you get there while an ad is playing, you either have to know the store and remember which screen the thing you want is behind, or you have to wait until the ad is over. Or you can go open every door until you find what you want. I prefer the latter because it makes the company have to pay more to cool their drinks.

          If enough people do it enough, maybe it’ll negate the advertising profits.

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

    Reject Web technologies - embrace native mobile app development

    Compose feels like React but without the bad JavaScript parts, really pleasant experience!

  • Presi300@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I don’t really get what htmx is… does it make things like modals easier? Is it a full framework, or does it just add extra features to html?