Drag the edges to resize the window.

Mounting Lifecycle Methods

Mounting Lifecycle Methods

There are three categories of lifecycle methods: mounting, updating, and unmounting. This lesson is about the first category: mounting lifecycle methods.

A component "mounts" when it renders for the first time. This is when mounting lifecycle methods get called.

There are three mounting lifecycle methods:

  • componentWillMount
  • render
  • componentDidMount

When a component mounts, it automatically calls these three methods, in order.

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