1. 4
    Use React useEffect hook to see how many times component mounts and unmounts
    1m 50s

Use React useEffect hook to see how many times component mounts and unmounts

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

In this lesson we are going to learn how to use useEffect hook from React 16.7 to be able to create a custom hook which allows us to see how often the component mounts and unmounts.

Later, we can reuse it in other components and improve app performance by diving deep into how many times our components are mounted and/or unmounted.