useEffect Hook in React
Welcome back!
This is the second blog in the React Hook series, where we're learning about different hooks used in React, and our today's hook is the useEffect hook. Before we get started, I'd recommend reading the last blog of this series useState H...
vanshsharma.hashnode.dev3 min read
Shrijin
front end enginer
In React18 strict mode, when the dependency is an empty [] , the function will render twice