"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const React = require("react");
function useConstant(init) {
  const ref = React.useRef(null);
  if (ref.current === null) {
    ref.current = init();
  }
  return ref.current;
}
exports.useConstant = useConstant;
//# sourceMappingURL=dist-es-utils-use-constant.cjs.map
