3 ms·
htmx supports a few different ways to take complete page responses and wire them in to an existing page: https://htmx.org/attributes/hx-select/ https://htmx.or
by recursivedoubts 4y ago
htmx supports a few different ways to take complete page responses and wire them in to an existing page:
https://htmx.org/attributes/hx-select/ https://htmx.org/attributes/hx-select/
https://htmx.org/attributes/hx-select-oob/ https://htmx.org/attributes/hx-select-oob/
https://htmx.org/extensions/morphdom-swap/ https://htmx.org/extensions/morphdom-swap/
- BeefySwain 4y agoOh wow, this feels like a somewhat buried lede for how you would actually use HTMX in the real world. I've played with it quite a bit and didn't realize this was a pattern that was actually viable. I think it would really benefit the project to have more documentation/examples of architectural patterns for how an app might use HTMX.
- recursivedoubts 4y agoyeah, a problem w/ htmx being a backend-agnostic extension to HTML is that you need to produce examples for all the popular backends. there is a page here with links to various repos people have put together: https://htmx.org/server-examples/ https://htmx.org/server-examples/