2 ms·
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 p
by hu3 1y ago
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.
- purerandomness 1y agoThat's a very good idea, and exactly what HTMX (and similar implementations) do.
- port11 1y agoOkay, 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.
- hu3 1y agoYeah turbo and htmx is great for that.
- sam0x17 1y agorails has been doing this with turbolinks (not even called that anymore) since like 2012