Sign in Go Pro

Build a React Native Application

Exploring Lifecycle Methods in React Native

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

A React Native component will fire several different lifecycle methods as it mounts, props change, and is unmounted. It's useful to tap into those lifecycle methods to do certain things, like loading a list of todo items.

We'll explore lifecycle methods by loading a fake list of todo items when a component mounts.

Summary of Content:

  • What lifecycle methods are
  • Use setTimeout to simulate a network call to fetch todo items
  • Add an ActivityIndicator spinner while the items are loading

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in Build a React Native Application