The Wayback Machine - https://web.archive.org/web/20160204082843/https://github.com/petehunt/react-server-rendering-example
Skip to content
Super-basic example of how server rendering works
JavaScript HTML
Latest commit 911f9b3 @petehunt Update README.md
Failed to load latest commit information.
.gitignore intiial add
README.md Update README.md
Timer.js intiial add
index.html intiial add
index.js intiial add
package.json intiial add
server.js intiial add

README.md

unmaintained

Run npm install then npm start then kill it.

You can open index.html, wait a few seconds and see the app. Or you can node server.js and open http://localhost:4000/ to see the server rendered version. Note the better performance (due to simulated JS load time) and if you edit the text field the JS won't blow it away when it loads.

Something went wrong with that request. Please try again.