Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.
This repository was archived by the owner on May 4, 2020. It is now read-only.

Redundant Immutable.is() for entire props and state? #7

@pstoica

Description

@pstoica

Hey, I wanted to make sure I understood this bit correctly:

  if (objA === objB || is(objA, objB)) {
    return true;
  }

I don't think you can use Immutable.Map as your entire props/state. is would then check for referential equality, just like ===.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions