I'm missing a FAQ entry explaining why next.js opted for server side rendering and not on client side. This would help me evaluating frameworks.
A detailed and/or opinionated comparison between these two and the reasons why SSR has been picked would be awesome.
not on client side
Next.js does both, SSR and CSR.
First request is rendered server side and then when client JS code loads on the browser is "rendered" client side (the " are because React try to avoid rendering again and instead it just starts to listen events and other few things). Then when you navigate to another page it loads the required JS code and do the navigation and render client side as an SPA.
To understand why SSR I personally recommend you to read https://rauchg.com/2014/7-principles-of-rich-web-applications#server-rendered-pages-are-not-optional.
Ok, maybe we can close this issue? @binarykitchen
Most helpful comment
First request is rendered server side and then when client JS code loads on the browser is "rendered" client side (the
"are because React try to avoid rendering again and instead it just starts to listen events and other few things). Then when you navigate to another page it loads the required JS code and do the navigation and render client side as an SPA.To understand why SSR I personally recommend you to read https://rauchg.com/2014/7-principles-of-rich-web-applications#server-rendered-pages-are-not-optional.