If you are a react developer, you must have encountered useEffect hook more often than not. As per official React documentation: