Understanding React's useEffect cleanup function - LogRocket Blog
Briefly