Server Side Rendering with Redux
To set up, we create a basic page where users can register and log in. This enables us to track the logged in state of the user with session storage. In doing so, we will then render our React components differently based on the logged in state of the user.
In this video we render our React components on the server and set the initial state for the Redux store. We then pass off the state to the client side in order to 'sync' the two environments with consistent data on both sides. Finally, we confirm by rendering different UI based on the logged-in status of the user.