Modify the address bar with history.pushState
Describe how bookmarking a single page application works
history.back();
history.forward();
history.pushState({}, 'title', '/newpage');
Server Side Rendering
GET /
index.html (fully rendered)
GET /signin
/signin (fully rendered)
Node.js
HTML
GET /
index.html (only div id="root")
Node.js
React
Render react app
Change address to /signin
Render /signin component
GET /user/55
index.html (only div id="root")
Node.js
React
Render react app with
correct user component
Bookmarked /user/55
Server side support is required