UNPKG

rooks

Version:

Collection of awesome react hooks

11 lines (10 loc) 357 B
import type { CallbackWithNoArguments } from "../types/types"; /** * useDidMount hook * @description Calls a function on mount * * @param {Function} callback Callback function to be called on mount * @see https://rooks.vercel.app/docs/hooks/useDidMount */ declare function useDidMount(callback: CallbackWithNoArguments): void; export { useDidMount };