I just want a quick way to throw some react hooks or web components into a dom element using a library that is less than 1,000 lines of code.
I just want a quick way to throw some react hooks or web components into a dom element using a library that is less than 1,000 lines of code.
Pretty typical with open source projects tbh. Many of them win thanks to marketing more than anything else.
Plus i think US devs understand how important marketing is more than anybody else.
htmx is literally html extension. it is aimed at adding interaction to static html. Preact/react are completely opposite approach to that.
But htmx is all about replacing server rendered html with server rendered html partials. I would like to see what reacts vdom does when you keep ploping some partials into DOM it thinks it controls.
Preact is the tiny alternative to React (I still think preact could be smaller if they only focused on hooks).
I htmx is too bloated, while it's much smaller than the React codebase - I want the tiny, <1k loc alternative that literally just makes working forms and href links into dynamic fetch() responses and maybe adds additional support for auto-refresh from websockets or SSE.