A promise that resolves to either void or a cleanup function. The cleanup function is called when the component is unmounted or when the dependencies change.
A promise that resolves to either void or a cleanup function. The cleanup function is called when the component is unmounted or when the dependencies change.