/ssr-demo

Sample project to demonstrate differences between server side rendered and client side rendered react app

Primary LanguageJavaScript

Server side rendering demo

This project is to demonstrate the difference between a server side rendered React app and the same app rendered at the client

Available Scripts

In the project directory, you can run:

npm install

Install all the dependencies for the project.

npm start

Runs the app in the client side rendering mode.
Open http://localhost:3000 to view it in the browser.

npm run ssr

Runs the app in the server side rendering mode.
Open http://localhost:3006 to view it in the browser.