Closed andy-t-wang closed 4 months ago
Turns out the previous change was inside the existing use effect hook so it wasn't being called on unmount. https://stackoverflow.com/questions/55020041/react-hooks-useeffect-cleanup-for-only-componentwillunmount
Turns out the previous change was inside the existing use effect hook so it wasn't being called on unmount. https://stackoverflow.com/questions/55020041/react-hooks-useeffect-cleanup-for-only-componentwillunmount