Run Side Effects with React useEffect

Paul McBride
InstructorPaul McBride

Share this video with your friends

Send Tweet
Published 4 years ago
Updated 2 years ago

The useEffect hook in React is used for running side effects. This can be anything from adding event listeners to logging to the console. In this lesson, we use it to track the mouse position.