Complex JavaScript in JSX

Let's see how to render lists and objects in your JSX!

We'll cover the following

So far, you have rendered a few primitive variables in your JSX. Now, we will render a list of items. The list will contain sample data in the beginning, but later we will learn how to fetch the data from an external API.

First, you have to define the list of items:

Get hands-on with 1200+ tech skills courses.