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. Client Hooks const isScreen = useMediaQuery("(max-width: 768px)")