reactjs / react-router-tutorial

5.52k stars 1.75k forks source link

What is the point of server-side rendering? #299

Open Telokis opened 7 years ago

Telokis commented 7 years ago

Since there is a lot of code added to support this, why do we even bother handling it ? The client-side routing seemed pretty fine to me so I don't understand. The beginning of the lesson 13-server-rendering should start by explaining why we would want to do it in a real situation.

merriam commented 7 years ago

It's not a React Router issue, and your best bet is to look at SlideShare for "universal rendering" or "isomorphic rendering". The short answer: speed, SEO, and testability.

merriam commented 7 years ago

close this?