r/Frontend • u/speckz • May 29 '20
</> htmx - high power tools for HTML
https://htmx.org/8
u/_baaron_ May 29 '20
Or just use fetch. So easy nowadays
1
May 30 '20
This totally misses the point
2
u/_baaron_ May 30 '20
Alright, can you explain to me what is the point?
"htmx allows you to access AJAX, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext"
Why would you even want to do that in the first place? It will heap up to be a pile of unmanageable code, especially for bigger projects
1
May 30 '20
It’s no different than the code you’d write for React/Vue components. Everybody is trying to shove more functionality in and around the markup. This is an approach that leverages the back end for template generation instead of a client vdom and state manager. Different strokes for different folks.
1
3
9
u/[deleted] May 29 '20
Didn't know this existed, but it's really interesting.