Learn the useEffect Hook in React
What is the useEffect hook?
The useEffect hook handles side effects in React. A side effect happens when you interact with something outside the scope of React.
Some common examples of side effects are;
Data fetching.
Interacting with local storage....
benjaminsemah.hashnode.dev4 min read