August 2017
Beginner
374 pages
10h 41m
English
Now that we have defined the window.__PRELOADED_STATE__ variable, all that's left to do is to use it when creating the store on the client side.
Open src/index.js and pass window.__PRELOADED_STATE__ to the configureStore() function:
const store = configureStore(window.__PRELOADED_STATE__)
Read now
Unlock full access