top | item 10618772

Ask HN: How are you using React server-side rendering?

3 points| geyang | 10 years ago | reply

My app (http://www.escherpad.com) is using angular, and I have decided that I'm going to rewrite it in angular2 after research both react and angular2. The reason I want server-side rendering is for SEO, because I want to serve these collaboratively editable documents as blog posts. My friend at a large startup mentioned that they are using react for quite a few projects so I want to ask here:

"are you using react in a project with server-side rendering? and how are you using it?"

Thanks!

1 comment

order
[+] sprobertson|10 years ago|reply
Yes. Using it on several sites to serve a whole page instead of an empty frame. It's a big help for search engine crawlers, page caching, and javascript-adverse users. For highly interactive uses (as I assume a collaborative document editor would be) it is still useful as React can bootstrap its initial state on top of this pre-rendered HTML.