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

    mysterious-toddler-20573

    06/30/2020, 8:15 PM
    I am building hyperscript as an open parser, where you can add syntactic (and lexical!) elements to the parser
  • m

    mysterious-toddler-20573

    06/30/2020, 8:15 PM
    it's a little obscure but this is for a potential PhD thesis
  • m

    mysterious-toddler-20573

    06/30/2020, 8:16 PM
    so I don't know if I have the full grammar/lexical setup until the user calls .start()
  • m

    mysterious-toddler-20573

    06/30/2020, 8:16 PM
    but I kind of hate that.
  • m

    mysterious-toddler-20573

    06/30/2020, 8:16 PM
    I'll figure out another mechanism
  • m

    mysterious-toddler-20573

    06/30/2020, 8:17 PM
    I wish I didn't have a day job!
  • b

    big-airline-13935

    06/30/2020, 8:33 PM
    Isn't it safe to assume that the setup is complete on document ready?
  • m

    mysterious-toddler-20573

    06/30/2020, 8:47 PM
    Yes, probably.
  • m

    mysterious-toddler-20573

    06/30/2020, 8:50 PM
    Right, OK, so right now you don't have to start it with htmx
  • m

    mysterious-toddler-20573

    06/30/2020, 8:51 PM
    only in the non-htmx world do you need to start it
  • m

    mysterious-toddler-20573

    06/30/2020, 8:51 PM
    this is because in htmx we use the htmx DOM processing, whereas stand-alone it has to do its own work
  • m

    mysterious-toddler-20573

    06/30/2020, 8:51 PM
    🤔
  • m

    mysterious-toddler-20573

    06/30/2020, 8:52 PM
    So the right thing is probably to flip that
  • m

    mysterious-toddler-20573

    06/30/2020, 8:52 PM
    by default, htmx processes the DOM on load
  • m

    mysterious-toddler-20573

    06/30/2020, 8:52 PM
    but there is a flag that turns that off, and htmx uses that flag
  • m

    mysterious-toddler-20573

    07/01/2020, 12:33 AM
    https://htmx.org/posts/2020-6-30-htmx-0.0.7-is-released/
  • b

    big-airline-13935

    07/01/2020, 7:09 AM
    @User
    hx-vars
    made it into 0.0.7, right?
  • b

    big-airline-13935

    07/01/2020, 7:17 AM
    Submitted a PR (https://github.com/bigskysoftware/htmx/pull/128).
  • u

    user

    07/01/2020, 8:07 AM
    Guys, I am completely new to htmx. Will there be support for Highcharts or something similar, so that I won't have to write JS, only hypertext?
  • b

    big-airline-13935

    07/01/2020, 9:02 AM
    @User That's quite the zesty request! My guess is no, htmx aims to simplify AJAX requests only.
  • u

    user

    07/01/2020, 9:19 AM
    Thanks!!
  • m

    mysterious-toddler-20573

    07/01/2020, 1:40 PM
    @User yep, missed that!
  • m

    mysterious-toddler-20573

    07/01/2020, 4:07 PM
    @User if there is a svg graphing library that might dovetail well with htmx
  • u

    user

    07/01/2020, 4:07 PM
    hmmm, can it be interactive potentially?
  • m

    mysterious-toddler-20573

    07/01/2020, 4:38 PM
    potentially
  • m

    mysterious-toddler-20573

    07/01/2020, 4:38 PM
    I mean, the more interactive it gets, the more I would want to rely on something client side
  • m

    mysterious-toddler-20573

    07/01/2020, 4:38 PM
    d3 looks interesting
  • m

    mysterious-toddler-20573

    07/01/2020, 4:38 PM
    but this is all pretty orthogonal to htmx, which is focused on client/server interactions
  • m

    mysterious-toddler-20573

    07/01/2020, 4:39 PM
    I don't think you are gonna get away from javascript too much if you want a highly interactive rich object, but that's OK: the rest of the app can be simpler
  • b

    big-airline-13935

    07/01/2020, 6:07 PM
    I've had success with https://apexcharts.com/, still don't really get how this might integrated with htmx though.
12345...1146Latest