React Hook, Hooks, React.
functional components e.g., ApiFetching, Subscriptions or Events.It is a close replacement for componentDidMount,componentDidUpdate and componentWillUnmount lifecycle.The above 3 lifecycle method can be handle using useEffect().useEffect() run after every render of component useEffect(()=>{}) takes