Add Redux with Server-to-Client State Hydration to a React Universal Project

Share this video with your friends

Send Tweet

We will add redux to our project and get redux working on the client and server. The redux state will be passed along with our server-side rendered page in a global window variable; from there, we’ll hydrate the state on the client.

eggheadgl
eggheadgl
~ 7 years ago
Tim Kindberg
Tim Kindberg(instructor)
~ 7 years ago

@eggheadgl I hadn't explicitly added anything to my demo for the nice error handling. It must be coming from one of either the webpack-dev-middleware or other middlewares.