GammaGames,

I’m always kinda surprised when I see htmx. What’s the perks? I already have my stack, why should I change? I looked into it recently and it looked really unappealing

cwagner,

deleted_by_author

  • Loading...
  • GammaGames,

    LOL most of your markdown rendered fine in Voyager.

    I can see some benefits, unfortunately they’re not issues I deal with in our current stack.

    cwagner,

    deleted_by_author

  • Loading...
  • GammaGames,

    It’s just two backticks with nothing between, so probably not.

    Tyfon, (edited )

    Looks fine, but I didn’t get highlighting

    
    <span style="font-weight:bold;color:#a71d5d;">const </span><span style="color:#323232;">foo</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">""
    </span>
    

    It didn’t show on webpage są code, but works in Jerboa app. If you want to render block of code use three `

    snowe,
    @snowe@programming.dev avatar

    fireship has a good video on it. youtu.be/r-GSGH2RxJs

    Dunstabzugshaubitze,

    It becomes pretty nice if you use a templating engine to generate html server side. Context: 95% of my work projects are java with spring boot and JavaScript applications for the front end.

    I used turbo (other js library, very simmiliar) for some prototypes and having the complete state of an application in the backend and the ability to reuse so much of my html templates allowed me to iterate pretty fast on ideas. And using htmx or turbo does not mean you can’t write js ever, but you can use it for purely ui functions and leave a lot of application logic to the backend, while still avoiding full page reloads and other cool features of typical JavaScript applications.

    Big fan of the idea behind htmx, would love to actually use it for stuff that goes into production. I guess it would also be really nice for existing projects with lots of html allready written.

    GammaGames,

    I can see some of the benefits, especially if you’re making something very form heavy. Thank you!

    Suoko,
    @Suoko@feddit.it avatar

    It might be seen as an alternative/evolution/improvement of html5 maybe ?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webdev@programming.dev
  • DreamBathrooms
  • magazineikmin
  • ethstaker
  • khanakhh
  • rosin
  • Youngstown
  • everett
  • slotface
  • ngwrru68w68
  • mdbf
  • GTA5RPClips
  • kavyap
  • thenastyranch
  • cisconetworking
  • JUstTest
  • cubers
  • Leos
  • InstantRegret
  • Durango
  • tacticalgear
  • tester
  • osvaldo12
  • normalnudes
  • anitta
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines