React hook to execute callback on component mount
npm i @hooks/mount
useMount(callback: () => void, hook: (effect: EffectCallback, deps?: DependencyList) => void = useEffect)
Function to execute.
Hook to use, defaults to useEffect.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
React hook to execute callback on component mount
npm i @hooks/mount
useMount(callback: () => void, hook: (effect: EffectCallback, deps?: DependencyList) => void = useEffect)
Function to execute.
Hook to use, defaults to useEffect.