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.
1. What Is React Native?
2. Getting Started
3. Native Components
4. Working with Views
5. Platform APIs
Next steps1m 22s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.