https://htmx.org logo
Join Discord
Powered by
# deno-htmx
  • e

    echoing-action-55459

    10/27/2022, 10:42 PM
    boop https://gist.github.com/reggi/24d52508b466fb80e9516e0e99329091
  • g

    gorgeous-airport-54386

    10/27/2022, 10:43 PM
    https://github.com/dz4k/deno-htmx-starter/ reposting this
  • g

    gorgeous-airport-54386

    10/27/2022, 10:43 PM
    (it's based on oak not fresh so it probably won't be helpful)
  • e

    echoing-action-55459

    10/28/2022, 2:50 AM
    yep, still similar jsx seems much easier to use https://the.missing.style
  • e

    echoing-action-55459

    11/11/2022, 9:03 AM
    just 🚢 this proof of concept https://github.com/reggi/htmx-components
  • m

    mysterious-toddler-20573

    11/11/2022, 2:39 PM
    do you want me to share this on twitter?
  • e

    echoing-action-55459

    11/11/2022, 5:18 PM
    Curious what @gorgeous-airport-54386 thought Curious what you @mysterious-toddler-20573 think as well typed JSX HTMX? Props: https://github.com/reggi/htmx-components/blob/main/htmx/htmx_props.ts#L10 Elements: https://github.com/reggi/htmx-components/blob/main/htmx/htmx.tsx
  • e

    echoing-action-55459

    11/11/2022, 5:19 PM
    Was hoping to have more of an internal discussion first I suppose.
  • m

    mysterious-toddler-20573

    11/11/2022, 6:40 PM
    No problem
  • m

    mysterious-toddler-20573

    11/11/2022, 6:40 PM
    @gorgeous-airport-54386 is going to have a better take than I am, I'm componentarded
  • g

    gorgeous-airport-54386

    11/11/2022, 6:41 PM
    i like the idea of htmx typings for jsx
  • g

    gorgeous-airport-54386

    11/11/2022, 6:41 PM
    i can't really grok the example code in that repo
  • e

    echoing-action-55459

    11/11/2022, 7:07 PM
    @gorgeous-airport-54386 checkout https://github.com/reggi/htmx-components/blob/main/examples/1.click-to-edit.tsx
  • g

    gorgeous-airport-54386

    11/11/2022, 7:10 PM
    I don't like the
    HTMX.div
    api but i suppose that's a matter of personal taste
  • g

    gorgeous-airport-54386

    11/11/2022, 7:11 PM
    I'd prefer to use something like
    hxGet={Edit}
  • e

    echoing-action-55459

    11/11/2022, 7:13 PM
    you can
    const { Div } = HTMX
    at the top of the file. I can add
    hxGet
    style args
  • e

    echoing-action-55459

    11/11/2022, 7:14 PM
    I can add all htmx properties to the JSX types, too so you can do
    <div hxGet={...}/>
  • b

    brainy-ice-92385

    11/29/2022, 12:32 AM
    @echoing-action-55459 I love this! I wan tthis over in node land, wish I'd seen it a while ago. I just remade my website with JSX
  • e

    echoing-action-55459

    11/29/2022, 3:15 PM
    @brainy-ice-92385 I'm currently working on an actual "release" and shifting the design to be more modular. I'm down to add Node support too once the dust settles.
  • m

    mysterious-toddler-20573

    01/06/2023, 3:07 AM
    https://twitter.com/xplivevents/status/1611193988924739584
  • m

    mysterious-toddler-20573

    01/06/2023, 3:07 AM
    @echoing-action-55459 @gorgeous-airport-54386 👆
  • f

    freezing-agency-51240

    05/11/2023, 10:24 AM
    yw!