Join Alex Banks for an in-depth discussion in this video Fetch data, part of Learning React Native.
- [Instructor] The last React Native feature…that we will look at in this course is networking.…You're probably already familiar with…the code needed to make network requests…because React Native uses the whatwg-fetch API.…This is the API that's frequently used in the browser.…Now if you haven't used the whatwg-fetch API in the past,…don't worry, it's pretty simple.…Let's create a quick example.…Now I'm going to demonstrate this Fetch request…in a brand new project.…So I've already created a brand new project called Products,…using React Native init.…I've also loaded our product source code here…within the Atom IDE,…and I started this application…within the iPhone 6 simulator,…and have enabled Live Reload.…
So we can see just the default welcome to React Native…that we get when we initialize a new project.…So what we want to do is we actually want to…make a web request for some data.…If we take a look, we're going to be making a request…of this URL, the products.php page…and you get this blob of data.…We can actually see what this blob looks like…
- How React Native works
- Running an iOS app
- Debugging an app
- Working with components
- Creating style sheets
- Preparing a color list and color info
- Using the navigator
- Fetching data
Skill Level Intermediate
Q: This course was updated on 08/21/2017. What changed?
A: New videos were added that cover Android setup and running the Android emulator. In addition, the following topics were updated: building color info component, fetching data, and incorporating a WebView.