petehunt / react-server-rendering-example

Super-basic example of how server rendering works

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Super-basic example of how server rendering works


Languages

Language:JavaScript 88.0%Language:HTML 12.0%