Skip to content

Hooks reference documentation does not explain how dependencies are compared #3877

Description

@mwisnicki

Unless I'm blind there's no explanation what constitutes "has changed" in https://reactjs.org/docs/hooks-reference.html#usememo and other hooks.

I figured it's compared with Object.is but "reference" documentation should mention such things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions