w3irdrobot on Nostr: the story of js has been to make richer, more interactive websites while minimizing ...
the story of js has been to make richer, more interactive websites while minimizing data transfer over the wire at runtime. I agree we've probably gone too far, but htmx is just bringing back memories of jQuery and its hellhole of plugins.
we have had solutions for backend handling everything. it's just HTML templating. htmx does not do what you say. instead of making the frontend focus on user interaction and response to those actions, it delegates fragments of a view to a backend that is also responsible for serving up full pages and potentially serving up data in another format like json. it taken a clean-ish separation of data manipulation and data rendering and instead made it worse. just use full backend templating and go to the backend with every button click at that point. serving up HTML fragments from an API is gross.
in addition, the entire setup is facilitated by a js lib. it's just complicating the logic of what owns the fragments of HTML for rendering data. as a backend developer myself, it's a really gross way of building an application.
but that's just my two sats.
we have had solutions for backend handling everything. it's just HTML templating. htmx does not do what you say. instead of making the frontend focus on user interaction and response to those actions, it delegates fragments of a view to a backend that is also responsible for serving up full pages and potentially serving up data in another format like json. it taken a clean-ish separation of data manipulation and data rendering and instead made it worse. just use full backend templating and go to the backend with every button click at that point. serving up HTML fragments from an API is gross.
in addition, the entire setup is facilitated by a js lib. it's just complicating the logic of what owns the fragments of HTML for rendering data. as a backend developer myself, it's a really gross way of building an application.
but that's just my two sats.