How to decide up front when building a web app between server side and client side rendering. Is there any general guideline or best practice for all websites? What should be recommended, server side rendering, client side rendering or a hybrid of two?

Some people say whether to choose client/server side rendering depends on the use case. I am still not sure what cases more suit client side versus server side rendering.

How do we decide up front whether to use a client rendered page or a server rendered page. Is there a middle ground on this?