For example, one thing that has come up repeatedly in the last year is thinking of ways to remove React/Vue/etc and the “front end” entirely. Not that it’s necessarily a bad thing, but it results in a lot of duplicated effort (validation, business logic, etc) and maintaining multiple presentation logics (API, front end, mobile apps). I’d probably explore using something like htmx combined with switching off of the Accepts header to return a JSON or HTML response. Or maybe rewriting everything in a language that can run (or be compiled to run) in the browser.
Anyway, knowing everything you know today about your current project, how would you rewrite it to avoid or solve your current pain points?