Q. Which hook runs on mount and unmount?
Solution:
useEffect can run on mount and unmount with proper dependencies.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
useEffect can run on mount and unmount with proper dependencies.
Strengthen Your Practice with our comprehensive question bank.