3 ms·
I remember fetching HTML from the server with AJAX and updating innerHTML before it was called AJAX. Is HTMX repackaging that or am I missing some exciting brea
by optymizer 3y ago
I remember fetching HTML from the server with AJAX and updating innerHTML before it was called AJAX. Is HTMX repackaging that or am I missing some exciting breakthrough here?
- mlboss 3y agoIt is doing the same. Just makes cleaner and easier.
- sourcecodeplz 3y agoIt is like that yes but more abstract because it uses some special HTML tags to make the JS calls. There is a big downside though: weak error handling. It just assumes that your call will get a response.
- bccdee 3y agoNo, there're error events[1] which can be handled with a little bit of client-side scripting. [1]: https://htmx.org/events/#htmx:timeout https://htmx.org/events/#htmx:timeout