3 ms·
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
by williamcotton 13y ago
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.
- pascalo 13y agoInteresting ... 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?
- williamcotton 13y agoYou'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-rails/ http://bensmithett.com/server-rendered-react-components-in-r...
- pascalo 13y agoThanks. Will give that a read. Edit: Very interesting read liked from there ... https://groups.google.com/forum/m/#!msg/reactjs/eUespJPdyas/hmJywyo9ZSwJ https://groups.google.com/forum/m/#!msg/reactjs/eUespJPdyas/...
- deleted 13y ago[deleted]
- camus2 13y agoYou 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.