Passing Array Dependencies
In this lesson, we'll discuss how the useEffect function can be used for specific functionality, especially for passing arrays.
We'll cover the following...
It’s interesting that the effect function is invoked every time there’s an update. That’s great, but it’s not always the desired functionality.
Using Effect for Specific Functionality
What if you want to run the effect function only when the component mounts? ...