The main idea behind this example is to handle the sessions on the server, letting you validate if the user is logged before the view is rendered, as you know and if you don't know now you know 😂 to access to local storage on server render you must do componenDidMount so this example prevent…