Is React.js server side required?

All React.js views seem to suggest that React uses the server to create virtual DOMs and sends diff operations to the client, but I just tried flux-todomvc , for which it is not needed at all. What's happening? Does the server side work inside the web workflow?

+5
source share
1 answer

React.js does not use a web server to create virtual DOMs. It creates a virtual DOM and performs diff operations in the client browser.

  • People mostly use React.js to implement front-end Views (MVC View) of their web applications.
  • But you can use Node.js to render them on the server side if you want (for seo purposes, etc.).

  • http://facebook.imtqy.com/react/

+9
source

Source: https://habr.com/ru/post/1206038/


All Articles