HTML over the wire frameworks like HTMX, Hotwire (rails), LiveView (phoenix), Livewire (laravel), LiveView (django), etc. They all have the same basic idea with differences in how they achieve it. I feel this approach is overlooked, and it drives me crazy. There is a huge complexity cost attached with JS frontend app + backend that everyone seems to have accepted as reality. HTML over the wire (really need a catchy a…
Using JSON over the wire means you can re-use your backend between multiple frontends (like with mobile apps).
Also, mobile apps often have different API needs than webapps, so they end up getting different APIs anyway.