6 ms·
Kind of makes me wish there was a htmx-lite of sorts. Like an 80/20 solution at 20% of the size, which could be extended to the full blown package with extensio
by eproxus 3y ago
Kind of makes me wish there was a htmx-lite of sorts. Like an 80/20 solution at 20% of the size, which could be extended to the full blown package with extensions.
Have you thought about moving more features to extension, like was done with the web sockets feature?
- recursivedoubts 3y agoI've looked at the codebase and there isn't much I feel would do well as an extension. As I said upthread, most of the code is AJAX, input gathering, history support and then book-keeping/event stuff around that. There will be a bunch of htmx-like libraries coming out though and I expect many of them to take different design perspectives. Two that I'm aware of are https://data-star.dev/ https://data-star.dev/ and https://ajaxial.unmodernweb.com/ https://ajaxial.unmodernweb.com/, both were created by people on the htmx discord. I know of at least two other minimalist rewrites htmx discord users have done, but they haven't published their stuff yet. If you'd like to create your own, I do an overview of how htmx works here: https://www.youtube.com/watch?v=javGxN-h9VQ https://www.youtube.com/watch?v=javGxN-h9VQ I think a minimal, clean room, fetch() based implementation could be done in a weekend.
- gedw99 3y agoLove data-stax by Delaney. https://github.com/delaneyj/datastar https://github.com/delaneyj/datastar https://data-star.dev/examples https://data-star.dev/examples The way SSE is done is pretty cool as well as the NATS server integration. The 3D aspects with htmx looks talk fab too