message: fix: use useDeepCompareEffectWithTarget
diff: -import { useEffect } from 'react';
  import { getTargetElement } from '../utils/domTarget';
  import type { BasicTarget } from '../utils/domTarget';
  +import useDeepCompareEffectWithTarget from '../utils/useDeepCompareWithTarget';
  const useMutationObserver = (
  target: BasicTarget,
  callback: MutationCallback,
  options: MutationObserverInit = {},
  ): void => {
  - useEffect(() => {
  + useDeepCompareEffectWithTarget(
  + () => {
  const element = getTargetElement(target);
  if (!element) {
  return;
  @@ -19,7 +20,10 @@ const useMutationObserver = (
  observer.disconnect();
  }
  };
  - }, [options, callback]);
  + },
  + [options, callback],
  + target,
  + );
  };
  export default useMutationObserver;
  