ponys icon indicating copy to clipboard operation
ponys copied to clipboard

With htmx

Open gedw99 opened this issue 1 year ago • 3 comments

Thank you for this framework .

it looks like it would be a clever system to use with htmx.

what you you think ?

htmx is a SSR approach but Pony seems to not need compile or bundling and so it would allow the templating to run on the client

gedw99 avatar Sep 06 '23 09:09 gedw99

Hello @gedw99, my apologies for the late reply; thank you for getting in touch.

I had a brief look into htmx, as I'd not heard of it before - I suppose a lot of interoperability with Ponys would depend on whether/how/when the HTMLElement is monkey-patched by htmx in order to provide the kind of functionality it offers. If that is the case, the load order of the two libraries will be important, but I suspect it would be possible to make them play nicely together... perhaps you already found a way by now! :slightly_smiling_face:

jhuddle avatar Nov 01 '23 17:11 jhuddle

Hey @jhuddle

thanks for the response. No I have not investigated how to use htmx with pony yet.

I still think its a good match because of the server and client side possibilities that Pony has.

gedw99 avatar Nov 04 '23 09:11 gedw99

HTMX 2.0.0-alpha1 has support for shadowdom.

dschissler avatar May 04 '24 22:05 dschissler