4 ms·
Then what's the point of using HTMX? If you're not sending just exactly the necessary HTML to replace the target's HTML; if you need to parse JSON, then even j
by purerandomness 1y ago
Then what's the point of using HTMX?
If you're not sending just exactly the necessary HTML to replace the target's HTML; if you need to parse JSON, then even jQuery would be better suited.
The whole idea of HTMX is to get rid of the extra steps.
- majorchord 1y agoI don't always have control over the remote end or due to business reasons the format can't be changed. And since htmx also has template plugins, being able to feed JSON values into it makes sense to me... a similar project, EHTML has this feature.
- yawaramin 1y agoYou would use htmx when you control your backend server. Otherwise, you would use something else.