|
|
|
|
|
by vb-8448
14 hours ago
|
|
> Have not heard that yet, since a big part of HTMX is manipulating the DOM and binding events. I'm pretty sure this is not correct Did you ever open the htmx home page? Because it's at the very top in the "motivation" section! I'm starting to wonder whether you're trolling or you have no idea what HTMX and similar tools actually do. |
|
"HTMX and React represent fundamentally different web development architectures, but they can be compared or even used together in a hybrid setup."
I see tutorials on how you can mix it with React for Next.js which might make sense at the page level because it's SSR.
Definitely possible, sure. But it would be about like mixing Angular with React where two libraries are competing for the truth of what's in the DOM.
There was a time Three.js "couldn't work" with React because they each had their own separate render lifecycles - but r3f happened with enough demand (and useFrame bridged the two beautifully).
Maybe the same will be true of HTMX, maybe people are actually trying to do that now for some reason, but yeah a lot would have to change with either React or HTMX to get value out of both simultaneously for UI.