0.1.0 • Published 3 years ago
@ghranek/hooks v0.1.0
React Custom Hooks
yarn add @ghranek/hooks
Lifecycle Hooks
useDidMount(function)
Similar to componentDidMount
in class component.
useWillUnmount(function)
Similar to componentWillUnmount
in class component.
useDidUpdate(function, [dependencies])
Similar to componentDidUpdate
in class component.