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

    victorious-artist-2344

    05/05/2023, 7:55 PM
    Yeah agreed
  • v

    victorious-artist-2344

    05/05/2023, 7:55 PM
    hx-swap-oob supports css selectors, you could invent a more meaningfully named attribute that signals “I’m swapped elsewhere”
  • v

    victorious-artist-2344

    05/05/2023, 7:56 PM
    Rather than rely on IDs
  • a

    adamant-state-54102

    05/05/2023, 7:56 PM
    Of course, but the assumption of the example is that you want it. You can quibble with this example, but you can't really argue that you should never, in general, want anything in a parent component that should be updated based on child components. Aggregate info alone is a common pattern.
  • a

    adamant-state-54102

    05/05/2023, 7:57 PM
    I think where I land is that it's just better to refresh everything in those cases 🤷‍♂️
  • v

    victorious-artist-2344

    05/05/2023, 7:57 PM
    Yeah I think my point is, what is the tradeoff you want to make in your context?
  • a

    adamant-state-54102

    05/05/2023, 7:58 PM
    Thanks for your replies!
  • f

    flaky-energy-47039

    05/05/2023, 9:05 PM
    Hi, I am exploring validation. In this example https://htmx.org/examples/inline-validation/ to validate one field whole form is sumbitted. Is it possible to only submit one field for validation, not the whole form, which might involve sending a lot of unnecessary text?
  • m

    mysterious-toddler-20573

    05/05/2023, 9:33 PM
    yes
  • m

    mysterious-toddler-20573

    05/05/2023, 9:33 PM
    https://htmx.org/examples/inline-validation/
  • m

    mysterious-toddler-20573

    05/05/2023, 9:48 PM

    https://cdn.discordapp.com/attachments/725789747212976259/1104162758053863434/image.png▾

  • q

    quick-lamp-41411

    05/05/2023, 9:48 PM
    Some of them were pretty atrocious
  • m

    mysterious-toddler-20573

    05/05/2023, 9:49 PM

    https://cdn.discordapp.com/attachments/725789747212976259/1104163064506503228/iu.png▾

  • a

    adventurous-ocean-93733

    05/05/2023, 9:54 PM
    No joy going into the lion’s den if you don’t come out with a few scars.
  • h

    hundreds-stone-62176

    05/05/2023, 9:57 PM
    i imagine that the best orange site client would just extract the links from the submission and comments and bitbucket everything else.
  • m

    mysterious-toddler-20573

    05/05/2023, 9:58 PM
    there are smart folks in there
  • m

    mysterious-toddler-20573

    05/05/2023, 9:58 PM
    and many good points, but a lot of ackshully
  • q

    quick-lamp-41411

    05/05/2023, 9:59 PM
    I liked the one comment about "well how the hell am I going to write a collaborative editor with this?"
  • q

    quick-lamp-41411

    05/05/2023, 9:59 PM
    Just... what
  • h

    hundreds-stone-62176

    05/05/2023, 10:01 PM
    shoulda just called htmx "silverbullet"
  • g

    gorgeous-airport-54386

    05/05/2023, 10:02 PM
    if htmx is so good why can't i write a printer driver in it
  • q

    quick-lamp-41411

    05/05/2023, 10:02 PM
    htmx in linux kernel when?
  • h

    hundreds-stone-62176

    05/05/2023, 10:03 PM
    ChatHTMX will take your job.
  • m

    mysterious-toddler-20573

    05/05/2023, 10:09 PM
    deleteing it all lads
  • r

    refined-waiter-90422

    05/05/2023, 10:31 PM

    https://cdn.discordapp.com/attachments/725789747212976259/1104173619166314626/Screenshot_20230505-153028255_1.jpg▾

  • r

    refined-waiter-90422

    05/05/2023, 10:31 PM
    HN loves talking about htmx
  • m

    mysterious-toddler-20573

    05/05/2023, 10:32 PM
    almost getting ratio'd
  • m

    mysterious-toddler-20573

    05/05/2023, 10:33 PM
    but 500+ votes is good, i'll take it
  • r

    refined-waiter-90422

    05/05/2023, 10:33 PM
    This was crossing my mind all morning 😆
  • r

    refined-waiter-90422

    05/05/2023, 10:33 PM
    Yup totally!
1...111311141115...1146Latest