useEffect Hook Concept
The useEffect hook is a built-in React hook that allows you to perform side effects in functional components. It serves as a combination of lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount in class components.