Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Updating/Unmounting Lifecycle Methods

Updating Lifecycle Methods

There are two categories that we haven't yet discussed: updating and unmounting lifecycle methods. This lesson covers both.

What is updating?

The first time that a component instance renders, it does not update. A component updates every time that it renders, starting with the second render.

There are five updating lifecycle methods:

  • componentWillReceiveProps
  • shouldComponentUpdate
  • componentWillUpdate
  • render
  • componentDidUpdate

Whenever a component instance updates, it automatically calls all five of these methods, in order.

Report a Bug
If you see a bug or any other issue with this page, please report it here.