5 ms·
I have a lot of respect for intercooler and wish something like it had become the go-to, with more complicated things like React reserved for apps that really n
by combatentropy 6y ago
I have a lot of respect for intercooler and wish something like it had become the go-to, with more complicated things like React reserved for apps that really need it.
I'm curious why you are starting over. What is different from intercooler besides no need for jQuery? Why HTMX instead of Intercooler 2.0?
- recursivedoubts 6y agoI wanted the freedom to completely reimplement things and drop ideas that didn't work out in intercooler I also wanted to stress that htmx isn't just another javascript library, competing with react and the rest. It is focused on HTML and extending HTML to make it a powerful and complete hypertext. I think that the name htmx captures that idea pretty well.
- fsateler 6y agoWhat ideas do you think didn't work out? Btw, I'm currently a very happy user of intercooler. Thanks for the awesome lib.
- recursivedoubts 6y agoI think the implicit dependency system is a good example that ended up confusing people as much as it helped: http://intercoolerjs.org/docs.html#dependencies http://intercoolerjs.org/docs.html#dependencies The fact that intercooler didn't have an extension mechanism meant I had to heap a lot of stuff into the core (e.g. ic-action) that was interesting and useful, but made the code base messy and unfocused. htmx has an extension mechanism, so you can pull in stuff like this (or write your own extension): https://htmx.org/extensions/ https://htmx.org/extensions/ that will take pressure off me to keep adding stuff to htmx and simply add more extensions. The dependencies idea from intercooler, for example, ended up as this extension: https://htmx.org/extensions/path-deps/ https://htmx.org/extensions/path-deps/
- spyckie2 6y agoreally cool to hear insights from package creators, thanks for sharing
- andybak 6y agoInteresting. I was a fan of intercooler and used it in production more than once but for some reason I could never get my head round the dependency functionality and ended up just ignoring it. Intercooler works beautifully alongside Django and Django Rest Framework and I look forward to trying out htmx.
- recursivedoubts 6y agothank you andy, i have always appreciated your positive feedback on intercooler :)
- forgotmypw17 6y agoDo you believe in equal access for no-JS?
- recursivedoubts 6y agoas much as is practical https://htmx.org/attributes/hx-boost/ https://htmx.org/attributes/hx-boost/