I think re-rendering headers, menu and footers for CRUD applications on every page change is suboptimal for CRUD web apps.
An easy win is to replace just the page main content and keep headers, menu and footers between navigations in the system.
Re:Just Use HTML
by purerandomness on Tuesday September 16, 2025 @12:40PM
(#45264584)
That's a very good idea, and exactly what HTMX (and similar implementations) do.
Okay, but, like, how much worse is it to re-render the whole thing? And it's not like Turbo hasn't been around for more than a decade, doing exactly that, for free, automatically.
Yeah turbo and htmx is great for that.
rails has been doing this with turbolinks (not even called that anymore) since like 2012
if (request.headers["user-agent"].Matches("Safari")) {
// wheeeee
else if (...Matches("Firefox")) {
// those where good times
Re:Just Use HTML
by jonwinstanley on Tuesday September 16, 2025 @10:14AM
(#45262542)
Rails and Laravel devs happily still live in this world a lot of the time :-)
we've come full circle <3