import { useRef } from 'react';
export function useIsFirstRender() {
    const isFirst = useRef(true);
    if (isFirst.current) {
        isFirst.current = false;
        return true;
    }
    return isFirst.current;
}
//# sourceMappingURL=use-is-first-render.js.map