All React.js introductions seem to suggest that React uses a server to create virtual DOMs and sends diff operations over to client, but I just tried out the flux-todomvc which it didn't need a server at all. What's going on? Is the "server side" work done inside web worker thread?
React.js does not use a web server to create virtual DOMs. It builds the virtual DOM and does its diff operations on the client's browser.
But you can use Node.js to render them on the server side if you like (for seo purposes etc.)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments