...

/

Introduction to the useEffect Hook

Introduction to the useEffect Hook

Learn how to use the useEffect hook.

We'll cover the following...

Before we start creating some practical applications, we need to learn about a new type of hook, useEffect.

Lifecycle of a component

Each component goes through various phases during the usage of the application. There are methods we can utilize during these different phases to perform a variety of operations. In this lesson, we’ll learn about the essential ones.

The primary phases of the component lifecycle are:

  • Mounting
  • Updating
  • Unmounting
...