Size0.15 kbView sourceuseGetIsMountedCheck if a component is still mounted to avoid memory leaks.Installation npmpnpmyarnbunnpm install @1hook/use-get-is-mounted Usage import { useGetIsMounted } from '@1hook/use-get-is-mounted' Get the mounted state of the component at any time const getIsMounted = useGetIsMounted() console.log(getIsMounted())useGeolocationAccess and watch the browser's geolocation data.useGlobalStateMinimalistic & Performant global state manager.