import { useRef as t, useEffect as f } from "react";
const o = (e) => {
  const r = t(e);
  return f(() => {
    r.current = e;
  }, [e]), r;
};
export {
  o as useUpdatingRef
};
//# sourceMappingURL=useUpdatingRef.js.map
