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

    dazzling-shoe-67340

    05/11/2023, 7:20 PM
    im replacing this on my page some old value with this after doing an htmx request: some new value I noticed that the element i define to swap it with doesn't actually matter (which is good) given it's doing an innerHTML replacement. so, for clarity reasons (and it works), would it be OK to rename that element to something like: some new value anything wrong with that even though it works?
  • s

    sparse-musician-14948

    05/11/2023, 7:33 PM
    heya
  • m

    mysterious-toddler-20573

    05/11/2023, 7:36 PM
    doesn't bother me and will probably not bother browsers
  • m

    miniature-lizard-24702

    05/11/2023, 7:38 PM
    @mysterious-toddler-20573 hey, google stole your idea
  • m

    miniature-lizard-24702

    05/11/2023, 7:39 PM
    didn't you invent view transitions
  • g

    gorgeous-airport-54386

    05/11/2023, 7:39 PM
    you can use
    <template>
  • m

    mysterious-toddler-20573

    05/11/2023, 7:40 PM
    nah, I made CSS transitions work across page swaps though
  • m

    mysterious-toddler-20573

    05/11/2023, 7:40 PM
    they are doing something much lower level
  • m

    mysterious-toddler-20573

    05/11/2023, 7:40 PM
    pixel-level animations
  • m

    miniature-lizard-24702

    05/11/2023, 7:40 PM
  • s

    sparse-musician-14948

    05/11/2023, 8:08 PM
    is htmx stable and production ready?
  • l

    limited-teacher-83117

    05/11/2023, 8:28 PM
    Yes! It's on a 1.9 release and takes backwards compatibility seriously
  • l

    limited-teacher-83117

    05/11/2023, 8:29 PM
    I am running it in production
  • s

    sparse-musician-14948

    05/11/2023, 8:58 PM
    nice
  • b

    billions-window-36824

    05/11/2023, 9:06 PM
    whyd i just see a channel shuffle around
  • f

    few-parrot-58207

    05/11/2023, 9:06 PM
    Is there a way to display an error (without js) when a fragment fails to load?
  • b

    billions-window-36824

    05/11/2023, 9:06 PM
    server's haunted
  • g

    gorgeous-airport-54386

    05/11/2023, 9:06 PM
    sorry
  • b

    billions-window-36824

    05/11/2023, 9:06 PM
    haha lol its fine i just thought it was funny
  • g

    gorgeous-airport-54386

    05/11/2023, 9:06 PM
    i promise i am not a ghost
  • h

    hundreds-camera-24900

    05/11/2023, 10:03 PM
    any chance this pr (https://github.com/bigskysoftware/htmx/pull/1324) can get merged? I just hit the issue and fixed it before checking to see if someone else already did 🙃
  • l

    limited-teacher-83117

    05/11/2023, 10:06 PM
    Have come to really hate the term "server side rendering" because nothing is being rendered there! It makes "API returns HTML text" sound waaay more complex than it needs to. However the only way of defeating it is to come up with a better, more obviously simple term
  • m

    mysterious-toddler-20573

    05/11/2023, 10:13 PM
    HTML Returning
  • g

    great-cartoon-12331

    05/11/2023, 10:15 PM
    without JS, no. you will need to write a couple of lines of JS
  • f

    few-parrot-58207

    05/11/2023, 11:45 PM
    I wonder if there could be a way? Like with a template for the error, and a css selector to point to the template in case of timeout or similar
  • b

    bitter-machine-55943

    05/11/2023, 11:47 PM
    Micro SSR?
  • b

    bitter-machine-55943

    05/11/2023, 11:48 PM
    Or do we need to avoid the SSR heritage altogether?
  • f

    few-parrot-58207

    05/11/2023, 11:49 PM
    "php style"
  • b

    bitter-machine-55943

    05/11/2023, 11:53 PM
    Emanative Rendering
  • g

    great-cartoon-12331

    05/12/2023, 12:06 AM
    it remains elusive, much like runtime types in OCaml
1...112511261127...1146Latest