3 ms·
> 'Why should only <a> and <form> be able to make HTTP requests?', why is that an issue? I wouldn’t call it an issue, but maybe you would like individual eleme
by jagged-chisel 3y ago
> 'Why should only <a> and <form> be able to make HTTP requests?', why is that an issue?
I wouldn’t call it an issue, but maybe you would like individual elements to fetch their own data. Sure you can do the same thing with JS in the browser (calling fetch or XMLHttpRequest), but htmx lets one do it with attributes on tags.
The “replace the entire screen” business is a jab at React-like frameworks. Although they all claim to update only the DOM parts that change, it’s very easy for a codebase to [accidentally] force a full page redraw.