"Do you understand React's life cycle"? The answer is very often a confident "yes".
But maximum students failed to explain to them when it comes to the functional component.
Some common questions that one can prepare on useEffect hook:-
- What are side effects, and how can we perform side effects in React?
- How can we perform unMounting in functional components, and why is it required?
Check the image to see six ways one can use useEffect() hook.
Top comments (0)