We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633a586 commit c758982Copy full SHA for c758982
packages/utils/src/useOnUnmount.ts
@@ -20,6 +20,7 @@ import { useEffect, useRef } from "react";
20
* // update data
21
* ```
22
*
23
+ * @remarks \@since 2.7.1
24
* @param callback - the function to call when the component unmounts.
25
*/
26
export function useOnUnmount(callback: () => void): void {
0 commit comments