Skip to content

Switch createSelector to use weakMapMemoize by default - #649

Merged
markerikson merged 12 commits into
masterfrom
feature/5.0-weakmapmemoize-default
Dec 1, 2023
Merged

markerikson merged 12 commits into
masterfrom
feature/5.0-weakmapmemoize-default

Conversation

@markerikson

@markerikson markerikson commented Nov 30, 2023 •

Copy link
Copy Markdown
Contributor

This PR:

  • Switches createSelector to use weakMapMemoize by default

The code changes are simple. The unit test changes are mostly "look at what the numbers are now and use those assertions instead".

@markerikson
markerikson force-pushed the feature/5.0-weakmapmemoize-default branch from 861ef6b to 82cc630 Compare November 30, 2023 02:28
@codesandbox-ci

codesandbox-ci Bot commented Nov 30, 2023 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 10b6753:

Sandbox Source
Vanilla Typescript Configuration

@markerikson
markerikson force-pushed the feature/5.0-weakmapmemoize-default branch 3 times, most recently from 885ad9f to f6fc5fd Compare November 30, 2023 03:19
@markerikson
markerikson force-pushed the feature/5.0-weakmapmemoize-default branch from f6fc5fd to 1256e80 Compare November 30, 2023 05:36
@markerikson
markerikson force-pushed the feature/5.0-weakmapmemoize-default branch from d702de1 to a03173f Compare December 1, 2023 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Equivalent implementation of re-reselect for cache-key

2 participants