React Native, v2

Network Requests Exercise

Kadi Kraman

Kadi Kraman

Formidable
React Native, v2

Check out a free preview of the full React Native, v2 course

The "Network Requests Exercise" Lesson is part of the full, React Native, v2 course featured in this preview video. Here's what you'd learn in this lesson:

Students are instructed to build a network request to fetch color palettes from an API using all three of the hooks mentioned in the previous section.

Preview
Close

Transcript from the "Network Requests Exercise" Lesson

[00:00:00]
>> Now that you're experts in hooks and network requests, let's do the network requests exercise. So I've got a host of versions of these color palettes, which are available on this URL. And it basically just gives you a JSON array that's structured like our current array is. And I would like you to convert our current application to fetch these color palettes from the API, rather than having them hard-coded.

[00:00:30]
And you should be using all of the three hooks we've just talked about.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now