3 ms·
Some people are writing an alternative, Twinspark, inspired by intercooler/htmx but without inheritance and with batching [1]. Avoiding inheritance seems especi
by neolog 6y ago
Some people are writing an alternative, Twinspark, inspired by intercooler/htmx but without inheritance and with batching [1]. Avoiding inheritance seems especially good to me. I'm wondering what is your take on removing inheritance/providing an alternative to it?
[1] https://solovyov.net/blog/2020/a-tale-of-webpage-speed-or-throwing-away-react/ https://solovyov.net/blog/2020/a-tale-of-webpage-speed-or-th...
- recursivedoubts 6y agoI don't have a strong opinion on it: I think inheritance has worked out pretty well when I've used it (e.g. if I want a bunch of links to target a specific div, I can hoist the hx-target to a parent.) But I salute twinspark as well and if it dovetails better with your sensibilities I encourage you to use it.
- murkt 6y agoDo you work alone by chance? Because it's pretty easy to avoid problems when you work alone, remember what exactly the code does. However, when working even in a small team (3-5 devs), it's becoming much harder to avoid such footguns. It would be really cool to see two projects merge (htmx and twinspark) and join forces.
- deleted 6y ago[deleted]