You have been hired by the Godfather to make an internal mafia hit list site. The Corleone family has been having a hard time keeping track of all the people they need to 'take care of ', and all the jobs that have already been successfully carried out. You have decided to use React to build this site because you want it to be professional (after all, this is the mafia), and Don Vito Corleone has put you on a deadline.
You will need to make a
GET request to retrieve the data for this hit list, and you can do this with
The data is located at this URL:
Make sure to do a good job on this one so that you don't end up on that list :)
You'll be storing an array of the targets in state
Your array will start empty, but then be set in a
You'll need to map through that array to get React to render it in JSX