Alex Banks wraps this course up by introducing networking in React Native. Construct a sample application that uses the fetch API to retrieve a list of product pictures that are displayed in a ScrollView.
- [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 six 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 product's 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
Building a Polling App with Socket IO and React.jswith Alex Banks3h 56m Intermediate
React Native Ecosystem and Workflowwith Emmanuel Henri1h 3m Intermediate
React Native: Building Mobile Appswith Steven Emmerich1h 59m Intermediate
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.