useEffect hook
The useEffect is the second most important hook after useState.
The syntax of the useEffect hook is as follows:
useEffect(()=>
{
},[])
Hence it consists of two parameters
1)The first parameter is the callback function
2)The second parameter is the d...
dhruv-web-dev.hashnode.dev2 min read