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

    lively-beach-14291

    11/28/2020, 2:46 PM
    https://unpoly.com/ was an alternative posted on HN
  • l

    lively-beach-14291

    11/28/2020, 3:00 PM
    I'm unsure about the scope of unpoly vs htmx, I like htmx since it seems to have a tight scope and is separating concerns.
  • m

    mysterious-toddler-20573

    11/28/2020, 3:05 PM
    Yep, unpoly has been around forever, but it's more of a client-side/server-side integration mechanism, rather than focusing on html-as-html
  • l

    lively-beach-14291

    11/28/2020, 3:13 PM
    I look for projects that have a small public interface relative to the functionality they encapsulate (a "library"). Having a large public interface relative to functionality is a sign that a project is more or less a grab-bag of conventions (a "framework"). I prefer libraries over frameworks.
  • m

    mysterious-toddler-20573

    11/28/2020, 3:29 PM
    yep!
  • b

    big-airline-13935

    11/28/2020, 5:02 PM
    You handled the HN post really well @mysterious-toddler-20573, you must be a pro by now!
  • e

    enough-battery-18892

    11/28/2020, 5:33 PM
    Hi to all
  • m

    mysterious-toddler-20573

    11/28/2020, 7:02 PM
    🙂 I've been in a few HN comment battles at this point 😉
  • g

    gorgeous-ghost-95789

    11/29/2020, 6:05 PM
    Howdy @User -- what brings you here?
  • g

    gorgeous-ghost-95789

    11/29/2020, 6:42 PM
    @lively-beach-14291 - I remember looking at unpoly on my first round of research. Now I forget why I didn't dig into it deeper. I think it seemed more complex than HTMX. It does sport some very cool features, like built-in/idiomatic support for: animations, modals/layers with URLs, preloading pages, and triggering links on mousedown.
  • g

    gorgeous-ghost-95789

    11/29/2020, 6:43 PM
    Is there any shame in looking at unpoly (and others) for inspiration?
  • m

    mysterious-toddler-20573

    11/29/2020, 9:04 PM
    unpoly is a great framework, and henning koch is a very nice guy, he has been supportive of htmx https://twitter.com/triskweline
  • m

    mysterious-toddler-20573

    11/29/2020, 9:06 PM
    The difference between unpoly and htmx is that it is a framework, where htmx is a library. You are going to get more out of the box with unpoly, but it's going to be more magical as well. They are different approaches but both are valid and useful in the right context.
  • g

    gorgeous-ghost-95789

    11/29/2020, 9:08 PM
    Great comparison. Thanks @mysterious-toddler-20573. Unpoly is also ~4x the size of HTMX. Still small compared to the big frameworks, but every byte counts.
  • g

    gorgeous-ghost-95789

    11/29/2020, 9:08 PM
    How do you feel about adding more primitives to HTMX? How much would be too much in your opinion?
  • m

    mysterious-toddler-20573

    11/29/2020, 9:14 PM
    I want to lean on extensions first and be very conservative
  • m

    mysterious-toddler-20573

    11/29/2020, 9:14 PM
    we are closing in on 10k, which is about the limit I'd like to set
  • g

    gorgeous-ghost-95789

    11/29/2020, 9:52 PM
    Yeah, that makes sense. I think I need to dig in to the extensions API, to see what I can do with that 🙂
  • m

    mysterious-toddler-20573

    11/29/2020, 10:10 PM
    I'd also like to increase the flexibility of htmx with respect to hooks, so that extensions can do more and more. In doing so, hyperscript should get more and more access to the runtime for more advanced stuff, while preserving the simplicity of htmx
  • g

    gorgeous-ghost-95789

    11/29/2020, 10:24 PM
    Yes. Exciting stuff!
  • f

    future-boots-43048

    12/01/2020, 11:45 AM
    I'm having a bit of a tough time with SSE connections that are themselves sitting inside another SSE swapped element ... I'm going to try to dig in and find out what's going on.
  • g

    gorgeous-ghost-95789

    12/01/2020, 3:47 PM
    Cool. Thanks 🙂 any way you could post some code?
  • m

    mysterious-toddler-20573

    12/01/2020, 4:15 PM
    @User is your guy!
  • f

    future-boots-43048

    12/01/2020, 4:15 PM
    Yup.
  • f

    future-boots-43048

    12/01/2020, 4:15 PM
    Was busy most of the afternoon.
  • m

    mysterious-toddler-20573

    12/01/2020, 4:15 PM
    I'm a simple
    hx-trigger="every 2s"
    caveman
  • m

    mysterious-toddler-20573

    12/01/2020, 4:15 PM
    your "streaming" "technologies" serve only to confuse and frighten me
  • f

    future-boots-43048

    12/01/2020, 4:15 PM
    lol
  • f

    future-boots-43048

    12/01/2020, 4:16 PM
    I'm probably just doing something really dumb.
  • f

    future-boots-43048

    12/01/2020, 4:16 PM
    Feeling my way through.
1...818283...1146Latest