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

const usePreviousProps = value => {
  const ref = _({});
  p(() => {
    ref.current = value;
  });
  return ref.current;
};

export { usePreviousProps as default };
//# sourceMappingURL=usePreviousProps.mjs.map
