Cleanup Function ↔ function call on Unmount, via return function from useEffect()
aka Cleanup-Fn, Cleanup
Cleanup Function used to prevent Memory Leak
AbortController
References
Run [Effect](effect) once **onMount** + [**_Cleanup_**](cleanup-function)↔ calluseEffect()with empty Deps Array & return Cleanup FunctionRun [useEffect()](useeffect) only [**_Cleanup_**](cleanup-function) for [Unmount](unmount)↔ double Arrow Function to return Cleanup Function
useEffect(() => () => CLEANUP(),
[] )
Run [Effect](effect) + [**_Cleanup_**](cleanup-function) on **specific renders**↔ calluseEffect()with property in Deps Array & Cleanup FunctionRun [Effect](effect) + [**_Cleanup_**](cleanup-function) on **specific renders**↔ calluseEffect()with property in Deps Array & Cleanup FunctionRun [Effect](effect) once **onMount** + [**_Cleanup_**](cleanup-function)↔ calluseEffect()with empty Deps Array & return Cleanup FunctionRun [useEffect()](useeffect) only [**_Cleanup_**](cleanup-function) for [Unmount](unmount)↔ double Arrow Function to return Cleanup Function
useEffect(() => () => CLEANUP(),
[] )