Redux for State Management 2 exercises

Add a Review Slice to the Redux Store

We have our cart functionality being driven by a Redux store, but now it's time to get a little bit tricky and bring in the reviews functionality.


Your challenge is to update the Redux store to include a reviews slice that is initialized with product reviews.

As you're working throug

Loading exercise


00:00 All right, so this is where it really starts to get fun. Now, we're driving our cart functionality using a Redux store. Let's see if we can implement on the reviews functionality. This is where it's going to start to get really tricky. So one of the things you need to watch out for as you're implementing is when you change routes,

00:19 notice how the reviews are changing to the reviews for that particular product. That's really important. So as you're working through this, make sure that that works. Also, go and check out the server-side rendered output of the page so that you make sure that you're

00:38 getting the reviews in the server-side rendered output. You want to make sure that they're in there because a requirement for an app like this is to have the reviews in the server-side rendered output. That's going to make for great search engine optimization or SEO. Now, if you have any questions,

00:56 be sure to consult the resources. In the meantime, good luck on this mystery of figuring out the best way to initialize the reviews slice within our Redux store properly.