Chapter 5
React and Redux on the Server
Section 4
Client : Hydrating and Rendering
In this video, we are going to look at initializing the Redux store with the pre-fetched server state and connecting our client React instance to the virtual DOM used on the server. - Place React rendered HTML placed in the “content” div and the initial state of the Redux store attached to the window.INITIAL_STATE global variable - Grab the initial state from the window.INITIAL_STATE__ global variable and pass it to our createStore() function as the initial state - Call ReactDOM.render() with the initialized store and the pre-rendered content div