/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-e634e55 | Cube Dev Team */
import { useRef } from "react";

//#region src/_internal/hooks/use-is-first-render.ts
function useIsFirstRender() {
	const isFirst = useRef(true);
	if (isFirst.current) {
		isFirst.current = false;
		return true;
	}
	return isFirst.current;
}

//#endregion
export { useIsFirstRender };
//# sourceMappingURL=use-is-first-render.js.map