React Essentials

Join the React Bootcamp

The React Bootcamp is 5 full weeks of professional React training to take you from wherever you are to top-tier React programmer in record time.

Lifetime Access

$79
Complete Package
Become a React Pro
Problem

Hiding Elements

First, fill out the Review component using all the data from the review object.

Next, add a conditional to not display the component at all if the rating is less than 4.

Hide the ReviewRating component if the review is not good (again, less than 4).

Display "No review" for the review conten...

This lesson is part of the full version of the React Bootcamp.

Click here to purchase.
Already joined? Log in here

Transcript

To get more comfortable with working with conditions in our JSX, I have a really nice challenge for you: we want to create this review component. This is the final version of it.

Right now, it's broken; we don't have anything being displayed, and that data is coming from this review object. So th...