At the beginning of this chapter, we looked at the page source of our existing client-rendered application. To test that our SSR implementation is working, all we need to do is check the page source again. Running the application and viewing the page source in Chrome now yields this:
Notice that the placeholder root element is still empty, but immediately after it a new script tag has been rendered with a call to set the window.html property. On top of this, if you scroll right to the bottom of the server-rendered HTML string, you'll find window.__INITIAL_STATE__ being set to an object that represents the version of our Vuex store that was initialized during the server render:
This value is what we use to hydrate the client-side store when...