The goal of this project/tutorial to not only get someone's projected started but to clarify the process behind an isomorphic app. (It should not be used in production without setting up several other things. Please see the Next Stepssections).
IsomorphismThe main idea behind an isomrophic app is that instead of bundling all your React code into a single bundle (and then using something like <script src="bundle.js"> in a bare bones html page), you run a Node.js server that serves the files for you. The main advantage to running the Node server is that you can render the React app server side, and simple display that rendered string to the user when they first visit the page. When the user visits the page, that rendered string gets overwritten after the bundle is downloaded and then the React app runs like normal.
Your new post is loading...