import '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { useRef as _, useEffect as p } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';

const useIsMounted = ()=>{
    const isMounted = _(false);
    p(()=>{
        isMounted.current = true;
        return ()=>{
            isMounted.current = false;
        };
    }, []);
    return isMounted;
};

export { useIsMounted };
//# sourceMappingURL=useIsMounted.mjs.map
