I'm trying to go the other way with my (simple) web apps- writing them so I don't have to rewrite them later. The whole UI is basically a form and a table, so I figured I should try.
For me that means Go + stdlib HTML templates (I want to try Gomponents at some point) to minimize dependencies. I copied the HTMX JS minified file into my source tree for some interactivity. I handwrote the CSS.
It looks very "barebones" (some would say ugly), but it's been solid as a rock. It's been a year and I haven't needed to update a thing!
I had my childhood heroes who were working on one of the first major app in Elbonia who helped me learn programming.
I remember asking them some 10-15 years later to help me with a project and they were like "sure, we'll do it CakePHP". Initially I was like "you mean in Cobol?". But then I realized they were masters of that tech, it works, and there's no need to reinvent the wheel and learn some new trendy web framework that will be forgotten in a blink of an eye.