@logixjs/react
    Preparing search index...

    Function shallow

    • shallow: a common useSelector(..., equalityFn) implementation.

      Semantics: shallow-compare Array / Object / Map / Set (uses Object.is for leaf values), useful when a selector returns a "new object/array" with unchanged contents to skip meaningless re-renders.

      Type Parameters

      • T

      Parameters

      • previous: T
      • next: T

      Returns boolean