First j was in love with server side rendering. Mostly it was PHP in many flavors. For projects I had full control over I even built custo frameworks. Then I tried server side rendering in nodejs with frameworks such as react-server. I must say that the overheads were not worth in my experience.
I also tried client side rendering with js frameworks such as angular (v. >= 2) and react, but to be fully honest that was a not idea solution for "static websites".
Lately I've combined all these experiences and I've built my own static web site builder, YASSB (https://yassb-foss.github.io/). I've built it combining what felt tome like the best features of all the above. In short:
- websites are pre-rendered and served as static websites
- pages are composed with reusable components, these can be simple HTML components or can be rendered with js.