ProNextJS

    Now it’s your turn! Try solving this exercise.

    Run locally (recommended)

    Code

    Start by cloning the project repository and follow instructions in the README.

    Or in browser

    Open on Gitpod
    Continue
    Loading...

    Transcript

    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,

    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

    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,

    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.