message: fix: use Object.is to compare whether the two values have changed
diff: @@ -2,7 +2,7 @@ import { useRef } from 'react';
  export type ShouldUpdateFunc<T> = (prev: T | undefined, next: T) => boolean;
  -const defaultShouldUpdate = <T>(a?: T, b?: T) => a !== b;
  +const defaultShouldUpdate = <T>(a?: T, b?: T) => !Object.is(a, b);
  function usePrevious<T>(
  state: T,
  