message: feat: deps compare to Object.is
diff: import type { DependencyList } from 'react';
  +// TODO
  +if (!Object.is) {
  + Object.is = function (x, y) {
  + // SameValue algorithm
  + if (x === y) {
  + // Steps 1-5, 7-10
  + // Steps 6.b-6.e: +0 != -0
  + return x !== 0 || 1 / x === 1 / y;
  + } else {
  + // Step 6.a: NaN == NaN
  + return x !== x && y !== y;
  + }
  + };
  +}
  +
  export default function depsAreSame(oldDeps: DependencyList, deps: DependencyList): boolean {
  if (oldDeps === deps) return true;
  for (let i = 0; i < oldDeps.length; i++) {
  - if (oldDeps[i] !== deps[i]) return false;
  + if (!Object.is(oldDeps[i], deps[i])) return false;
  }
  return true;
  }
  