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

    gorgeous-airport-54386

    07/21/2022, 8:13 PM
    best time to shop online
  • m

    mysterious-toddler-20573

    07/21/2022, 8:13 PM
    a typical day in montana, getting groceries
  • p

    powerful-helmet-42757

    07/21/2022, 8:15 PM
    Hahahaha. I'm from Montreal. But Im kind of really into real life testing. 🥾
  • g

    gorgeous-airport-54386

    07/21/2022, 8:16 PM
    remember when we had a conversation about cache busting and you said you just ctrl-f5
  • m

    mysterious-toddler-20573

    07/21/2022, 8:16 PM
    whats the problem?
  • g

    gorgeous-airport-54386

    07/21/2022, 8:16 PM
    just hand-deliver a letter to all your users to hard refresh next time they visit your site
  • p

    powerful-helmet-42757

    07/21/2022, 8:16 PM
    I'm always really surprised each time a user tells me he doesn't do that.
  • p

    powerful-helmet-42757

    07/21/2022, 8:17 PM
    Then I hit myself.
  • l

    late-king-98305

    07/21/2022, 8:43 PM
    Implemented my first
    HX-Retarget
    and it works great. 🙂 Since the server decides, it's squarely HATEOAS.
  • m

    mysterious-toddler-20573

    07/21/2022, 9:35 PM
    More like Low OVerhead Engine Of Application State, amirite?
  • m

    mysterious-toddler-20573

    07/21/2022, 11:06 PM
    "SPA Alternative" near the top of 🦞 https://lobste.rs/
  • b

    big-rocket-55039

    07/22/2022, 1:33 AM
    Dear all, recently experienced an issue with latest htmx: a simple hx-post="..." generates http "OPTIONS" request first, then a POST.
  • b

    big-rocket-55039

    07/22/2022, 1:33 AM
    Copy code
    <button hx-post="..." hx-params="subscriber" hx-swap="innerHTML" 
     hx-target="#subscribe_form">
  • b

    big-rocket-55039

    07/22/2022, 1:33 AM
    i don't understand why it produces an "OPTION" request first.
  • b

    big-rocket-55039

    07/22/2022, 1:48 AM
    is it because cross-domain POST?
  • r

    rapid-river-40444

    07/22/2022, 3:45 AM
    Hello guys, is there any implementation of multi-upload images with a preview that you can guide me to? I'm thinking about having one, and I'm wondering if something like that exist. Any hint would be appreciated.
  • c

    calm-ice-23682

    07/22/2022, 6:53 AM
    yes your browser is performing a preflight check to see what the server is capable of offering it. https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#preflighted_requests
  • g

    gorgeous-airport-54386

    07/22/2022, 11:14 AM
    the year is 2200. humanity has entered the post-scarcity era. there is no more misery, oppression, or war. we are gearing up to explore the deepest corners of space. we can't build htmx because it still depends on node-sass
  • g

    gorgeous-airport-54386

    07/22/2022, 11:18 AM
    https://lobste.rs/s/bjs8hy/spa_alternative#c_3daxze @mysterious-toddler-20573 can you tell this person that the bug they reported is fixed now
  • m

    mysterious-toddler-20573

    07/22/2022, 12:46 PM
    😑
  • c

    calm-ice-23682

    07/22/2022, 4:31 PM
    Narrator: However, Deniz omitted the fact that they were about to adopt htmx into the official spec in 2199, but then suddenly the cryogenically frozen 1cg awoke to scupper the plan and ensure htmx 1.999999999 lived on to maintain backwards compatibility with IE11. And that, dear Grugs, is the story of how the RESTions were saved on the planet C0MPL3X1A J5
  • h

    hundreds-camera-24900

    07/23/2022, 1:29 AM
    I am doing something stupid and I cannot figure out what -
  • h

    hundreds-camera-24900

    07/23/2022, 1:29 AM
    Copy code
    html
    <div hx-post="" hx-vals='{"plan_id": "price_1KtzuG2SKOay6VeKfbrIiAMt"}' class="cursor-pointer btn bg-citrus">
                Choose this plan
    </div>
  • h

    hundreds-camera-24900

    07/23/2022, 1:30 AM
    sends with no post body
  • h

    hundreds-camera-24900

    07/23/2022, 1:30 AM
    am I not allowed to have an empty string for the post target?
  • h

    hundreds-camera-24900

    07/23/2022, 1:33 AM
    it includes it with an hx-get
  • h

    hundreds-camera-24900

    07/23/2022, 1:34 AM
    UG stupid stupid bug
  • h

    hundreds-camera-24900

    07/23/2022, 1:34 AM
    of course as soon as you post something about it you figure it out
  • b

    broad-pencil-64390

    07/23/2022, 9:29 AM
    Hi! Is there a way to remove the scrolling animation from
    hx-swap="innerHTML show:window:top"
    I've tried setting
    swap
    and
    settle
    like so:
    hx-swap="innerHTML show:window:top swap:0ms settle:0ms"
    But there's still a scrolling animation
  • l

    late-king-98305

    07/23/2022, 1:09 PM
    I'd read this novel. 🙂
1...758759760...1146Latest