News for hackers. Stuff that matters.
Re:A Real World React – Htmx Port by rakoo on Sunday October 16, 2022 @03:38PM (#33226553)
> is it ever acceptable to round-trip to the server to re-render a component that could have been updated fully-client side ?

htmx doesn't aim to replace _all_ interactions with a roundtrip; in fact the author is developing hyperscript (https://hyperscript.org/) for all the little things happening purely client side.

But in any case even an SPA does round trips to get data stored on the server. The question becomes: is it better to make a backend spout json and then translate it, or make the backend spout HTML directly usable ?

There are no comments on this comment yet.