useEffect in React
The useEffect() hook is part of functional programming and the word ‘effect’ is used to describe the “side effect” of a REACT app.
Common side effects include:
API requests.
Using unpredictable timing functions. e.g setTimeOut or setInterval.
Dire...
blog.kirimanjaro.com3 min read