SSR is something you think about to address perf issues with time-to-first-interactive. I think SSR is here to stay, but it's definitely not something that is required in all apps. Or even most apps, really.
As for compilation, any templated framework (Angular, Glimmer, etc) is going to, and should have, a build-time step to compile templates into simple functions that update DOM or write HTML. That's definitely a trend I don't see stopping anytime soon.