React: useEffect explained with lifecycle methods
React’s useEffect hooks combines componentDidMount, componentDidUpdate and componentWillUnmount lifecycle methods. This is very useful for the following reasons: it reduces the amount of code, simplifies the code […]