Skip to content

Contradiction between usage examples in README and Redux docs #598

Closed

Description

@DenyVeyten

Basic Usage examples https://github.com/reduxjs/reselect#basic-usage (selectSubtotal, selectTax) contradict guide in Redux docs https://redux.js.org/usage/deriving-data-selectors#balance-selector-usage

I think both should be updated to some middleground, explaining that memoization is good over heavy operations (e.g. iterating long lists), but is overhead for simple ones (e.g. small math calculations, iterating short lists).

Activity

  1. markerikson commented on Feb 11, 2023

    @markerikson
    Contributor

    Yeah, the README here is rather dated, but we've got a lot of other priorities and this really isn't on the list to update any time soon.

    (Plus, there's always the issue with trying to show the basic techniques and mechanics, vs a "realistic" example that is more meaningful.)

  2. added a commit that references this issue on Nov 11, 2023
  3. aryaemami59 commented on Mar 16, 2024

    @aryaemami59
    Member

    This one has been resolved by #636.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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