Hacker News new | past | comments | ask | show | jobs | submit login

Use React and you get the best of both worlds. React supports server-side rendering.

Apps built with Angular or Ember have major issues with SEO. They'll have to resort to using something like PhantomJS to prerender their HTML. This is not a trivial bit of engineering.




Interesting ... By "supports server side rendering", do you mean react can bind to a chunk of preexisting HTML in the page to enhance it? Or running react on node and build a page? Got an example at hand?


You'll have to excuse me because I only did a cursory reading of the the following, but it seems to be a decent outline:

http://bensmithett.com/server-rendered-react-components-in-r...


Thanks. Will give that a read.

Edit: Very interesting read liked from there ... https://groups.google.com/forum/m/#!msg/reactjs/eUespJPdyas/...


You can render react HTML components in node js without a headless browser, you cant do that with angular,so you can use react on the server.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: