Understanding gotchas with un-mounting using useEffect hook— React – Josh Software

Understanding gotchas with un-mounting using useEffect hook— React In2021, I can say many developers are loving the functional components implementation with the help of hooks. Recently in one of my projects, while implementing Unmount lifecycle method using useEffect, we faced issue like our unmount (return function inside useEffect) was getting executed whereas component was still …

Understanding gotchas with un-mounting using useEffect hook— React – Josh Software Read More »