Skip to content

[Docs]: improve usage of second arg of useSelector (equality function) #1504

Closed
@ematipico

Description

@ematipico

The documentation talks about using shallowEqual as second argument for comparison (or lodash), although the documentation doesn't explain what are the arguments of this function and how a user could write their own custom equality function.

Is there a way to improve that part of the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions