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

    mysterious-toddler-20573

    09/11/2020, 2:03 PM
    which is fine
  • m

    mysterious-toddler-20573

    09/11/2020, 2:08 PM
    core problem is that you can't use @ when manipulating attributes programmatically:
    Copy code
    js
    document.body.setAttribute("@", "foo")
    fails in the console
  • b

    big-airline-13935

    09/11/2020, 2:09 PM
    Huh, interesting
  • m

    mysterious-toddler-20573

    09/11/2020, 2:09 PM
    even though it is technically legal in html
  • m

    mysterious-toddler-20573

    09/11/2020, 2:09 PM
    might want to let the Alpine ppl know
  • m

    mysterious-toddler-20573

    09/11/2020, 2:09 PM
    I can work around it by excluding those attributes from swizzling, they probably wouldn't be used for CSS transitions anyway,
  • m

    mysterious-toddler-20573

    09/11/2020, 2:10 PM
    we already exclude id and value to avoid visual jitter
  • b

    big-airline-13935

    09/11/2020, 2:11 PM
    How's your swizzling visualisation coming along? Was there a call to discuss?
  • m

    mysterious-toddler-20573

    09/11/2020, 2:13 PM
    havent had a call yet
  • b

    big-airline-13935

    09/11/2020, 2:13 PM
    Also, are we swizzling or twizzling?!
  • m

    mysterious-toddler-20573

    09/11/2020, 2:13 PM
    swizzling I think is the more proper term
  • m

    mysterious-toddler-20573

    09/11/2020, 2:13 PM
    I wasn't consistent
  • b

    big-airline-13935

    09/11/2020, 2:14 PM
    Would a call be helpful to you? A few people offered to give their input recently...
  • m

    mysterious-toddler-20573

    09/11/2020, 2:14 PM
    This person offered to help: https://twitter.com/kerns
  • m

    mysterious-toddler-20573

    09/11/2020, 2:14 PM
    do you know them?
  • m

    mysterious-toddler-20573

    09/11/2020, 2:15 PM
    https://en.wikipedia.org/wiki/Pointer_swizzling is where I'm taking the term from
  • b

    big-airline-13935

    09/11/2020, 2:15 PM
    I've interacted with @thankful-monkey-57044 quite a bit over the years, I'm sure he could be very useful!
  • m

    mysterious-toddler-20573

    09/11/2020, 2:16 PM
    they said they'd have time to help w/ the diagram and looked like the most designey of the responses I got
  • b

    big-airline-13935

    09/11/2020, 2:16 PM
    (I must have skipped the class on swizzling back in the day!)
  • m

    mysterious-toddler-20573

    09/11/2020, 2:16 PM
    but I'm fine with anyone who has time cleaning up my mess
  • m

    mysterious-toddler-20573

    09/11/2020, 2:17 PM
    let me get high res versions on the images and then can I put you in charge of getting someone to work on the image?
  • b

    big-airline-13935

    09/11/2020, 2:17 PM
    Ok sure
  • m

    mysterious-toddler-20573

    09/11/2020, 2:18 PM
    It would be good for you to be a go between too, so I can have someone else who understands how the htmx request cycle works and can stop having my food tested for poison by my sons before I eat it
  • m

    mysterious-toddler-20573

    09/11/2020, 2:20 PM
    btw, just pushed up changes that eliminate the janky
    _hyperscript.start()
    stuff. htmx has no references to hyperscript at all now, rather hyperscript listens for the
    htmx:load
    event and processes nodes that way. Very clean.
  • b

    big-airline-13935

    09/11/2020, 2:20 PM
    I can study up on your swizzling process, would be good for me to have more insight into how it works anyway!
  • m

    mysterious-toddler-20573

    09/11/2020, 2:20 PM
    👍
  • m

    mysterious-toddler-20573

    09/11/2020, 2:20 PM
    biab
  • b

    big-airline-13935

    09/11/2020, 2:23 PM
    > hyperscript listens for the htmx:load event and processes nodes that way Very cool!
  • g

    gorgeous-ghost-95789

    09/11/2020, 8:00 PM
    Hey @mysterious-toddler-20573 - I just saw the your SSE proposal. Great work, and thank you! After one read-through, I think it's promising. I'm going to sit with it for a bit this afternoon to see if I have anything constructive to add.
  • m

    mysterious-toddler-20573

    09/11/2020, 8:21 PM
    Sounds good. Happy to have you implement if you'd like.
1...262728...1146Latest