https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • a

    ancient-shoe-86801

    07/19/2022, 6:17 PM
    at most, we would made use of some fancy JS library like AG-Grid or Highcharts, but that could be embedded inside plain HTML pages. The interactivity outside of these modules is simple enough to handle with htmx and sprinkles of JS or hyperscript.
  • m

    mysterious-toddler-20573

    07/19/2022, 6:59 PM
    we ๐Ÿฆž now: https://lobste.rs/s/qyqwuh/how_did_rest_come_mean_opposite_rest
  • m

    mysterious-toddler-20573

    07/19/2022, 7:29 PM
    does anyone have a lobster invite I can have? I must correct this person being wrong on the internet: https://lobste.rs/s/qyqwuh/how_did_rest_come_mean_opposite_rest#c_9qimjy
  • l

    little-journalist-53964

    07/19/2022, 7:38 PM
    I can invite you
  • l

    little-journalist-53964

    07/19/2022, 7:38 PM
    @mysterious-toddler-20573 dm your email
  • m

    mysterious-toddler-20573

    07/19/2022, 7:47 PM
    thank you @little-journalist-53964 the internet has been corrected!
  • g

    gorgeous-airport-54386

    07/19/2022, 7:49 PM
    are we dropping the red site invites? ๐Ÿ‘€
  • g

    gorgeous-airport-54386

    07/19/2022, 8:10 PM
    i bet they would enjoy deno+oak+nanojsx
  • g

    gorgeous-airport-54386

    07/19/2022, 8:10 PM
    > motivation > > Why should only and be able to make HTTP requests? > Why should only click & submit events trigger them? > Why should only GET & POST methods be available? > Why should you only be able to replace the entire screen? is it just me or is this list backwards
  • m

    mysterious-toddler-20573

    07/19/2022, 8:44 PM
    it builds to a cresendo
  • m

    mysterious-toddler-20573

    07/19/2022, 8:44 PM
    ๐ŸŒŠ
  • m

    mysterious-toddler-20573

    07/19/2022, 9:26 PM
    uh, back on the front page: https://news.ycombinator.com/item?id=32148253
  • m

    mysterious-toddler-20573

    07/19/2022, 10:27 PM
    \> mf after a day of HN/Reddit arguing
  • m

    mysterious-toddler-20573

    07/19/2022, 10:27 PM
    thankfully a whole lot of people were cleared up on things they were wrong about!
  • m

    most-flag-2080

    07/19/2022, 10:44 PM
    Have you used nuxtjs?
  • m

    most-flag-2080

    07/19/2022, 10:44 PM
    Curious if anyone tried the nuxt / next route first
  • l

    late-king-98305

    07/19/2022, 10:56 PM
    I have. It was more-or-less static site, but I was using its "write your content in Markdown and generate the HTML" feature. I found vanilla Vue 3 easier than Nuxt, though Nuxt has the better logo. ๐Ÿ™‚
  • l

    late-king-98305

    07/19/2022, 10:58 PM
    Here's a link to it, if you were interested in poking around in it. https://github.com/bit-badger/bitbadger.solutions/tree/dcf28915f7e83c09a674bd8ef9a35240f315cb1a
  • g

    gray-soccer-63304

    07/19/2022, 11:03 PM
    That'd be me. The article on HN yesterday made HATEOAS click for me despite years of trying to find a way to apply JSON to REST and brought me here.
  • m

    mysterious-toddler-20573

    07/19/2022, 11:23 PM
    allow me to summarize my day
  • r

    refined-waiter-90422

    07/19/2022, 11:50 PM
    love comments like this
  • m

    most-flag-2080

    07/19/2022, 11:51 PM
    Lol. It seems pretty nice for routing and some other built in features
  • m

    most-flag-2080

    07/20/2022, 12:16 AM
    Build your next Vue.js application with confidence using Nuxt. An open source framework making web development simple and powerful.
  • m

    mysterious-toddler-20573

    07/20/2022, 12:23 AM
    one of the nice things about the htmx/hotwire/unpoly approach is that it really opens up what you can use on the back end: python, javascript, java, lisp, clojure, php, haskell, etc. etc. There are lots of great libraries with interesting features and ecosystems, and by adopting a hypermedia approach you can use whichever one fits your needs and experience best.
  • l

    late-king-98305

    07/20/2022, 12:33 AM
    Maybe coming in fresh, I would have thought "Oh, this is how you do [x]". When I'd learned Vue 2, then relearned Vue 3, I could have just been in a mental spot of "Oh, come on - why do I have to do [x] this way?!? I already know how to do [x] that way!" LOL (Markdown -> HTML -> Static SPA was a pretty cool feature, though.)
  • m

    most-flag-2080

    07/20/2022, 12:49 AM
    Yeah leveraging the back end frameworks for some stuff like routing is def nice
  • m

    most-flag-2080

    07/20/2022, 12:49 AM
    If what youโ€™re doing is crud those approaches seem like a no brainer
  • m

    most-flag-2080

    07/20/2022, 12:50 AM
    Iโ€™m kind of struggling using those approaches for something more involved on the client tho
  • m

    most-flag-2080

    07/20/2022, 12:50 AM
    For example a shopping cart that doesnโ€™t persist to the database until after all the changes are made etc
  • l

    lemon-grass-35120

    07/20/2022, 9:42 AM
    Hi, I am struggling with the following: I want to type an ID in an input, post this to a url, receive an integer back and start a timer with this integer. If I return the integer to the target input field and launch an event with "HX-Trigger-After-Swap" that grabs that value from the input it works fine. But I feel like it should be possible to send the integer back with the "HX-Trigger-After-Swap" response. I tried lot's of things and in chrome I can see the response in developer settings. But whatever I try, this does not contain my response: evt.detail.value
1...754755756...1146Latest