strues / react-universal-boiler

A bold way to begin your next great universal React application. Uses Webpack 3, React 16, Redux, and more for a great developer experience.
MIT License
65 stars 11 forks source link

fix disappearing initial redux state #19

Closed otmjka closed 7 years ago

otmjka commented 7 years ago

I had window.__PRELOADED_STATE__ === undefined in the client.js. I've replace setup of window.__PRELOADED_STATE__ above the app scripts at server.js.

And replace here(server.js) getState line after setup actions. (doubtful)