News for hackers. Stuff that matters.
Re:Behavior Belongs in the HTML by sibit on Monday December 11, 2023 @10:21PM (#38608975)
In terms of state management, it's a bit of an apples-to-oranges comparison, no? It offers nothing over React because it doesn't offer any state management. AFAIK HTMX is a wrapper for the fetch function that lets you define your request from your HTML. How you manage the state on the server is up to you.
Re:Behavior Belongs in the HTML by hifreq on Monday December 11, 2023 @11:20PM (#38609434)
That's where I disagree with this approach. IMO sending over fully rendered views just because some state changed is antithetical to the UI needs. UI is the state that users interact with.