ReactCasts, episode 12.
Server Side rendering means rendering your React components on the Server, and sending HTML pages pre-populated - This can lead to a better user experience and Search Engine discoverability.
On the browser, when the javascript runs, react will realise that the component is already there and take over for front-end interactivity, skipping the initial render.
Screencast video: https://youtu.be/tsEHfL-Ul1Y
-
Server side rendering benefits
-
Build Systems
-
Code organization (browser, server & shared)
-
Webpack configuration
-
browser-specific code
-
Server code (including express)
-
To build and run the code in this directory, ensure you have npm installed
-
Install
npm install
- Start the application
npm run start-dev