# toomuchdesign/re-reselect

Enhance Reselect selectors with deeper memoization and cache management.

Repository: https://github.com/toomuchdesign/re-reselect
Canonical: https://ross.abutalabs.com/products/re-reselect
Language: TypeScript
License: MIT
License Family: permissive
Topics: reselect, reactjs, memoization
Last push: 2026-09-03T00:18:53+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 63, longevity 100
- inputs: {"age_days": 3478, "days_push": 0, "days_rel": 35, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1090, forks 46 (observed 2026-09-03T02:15:19.903734+00:00)

## What it is
A lightweight TypeScript wrapper around Reselect that adds deeper memoization and cache management to Redux selectors. It maintains a cache of per-argument selectors so switching between different arguments no longer invalidates memoized results.

## Use cases
- retain selector cache when calling with different arguments
- share memoized selectors across multiple React component instances
- join similar selectors into one cached selector
- instantiate selectors on the fly at runtime
- add custom caching strategies to reselect
- avoid expensive recomputation when alternating selector arguments

## When to choose
- you use Reselect selectors that get called with varying arguments and lose their memoization
- you need to share selectors with props across many component instances
- you are on an older Reselect version (pre-v5) without native custom memoization options
- you want fine-grained control over selector cache keys and eviction

## When to avoid
- you are on Reselect v5+, which natively supports custom memoization via createSelector options
- your selectors are always called with the same arguments and default single-entry caching suffices
- you are starting a new project and can adopt Reselect's built-in caching features instead

## Facets
- artifact type: library
- maturity: maintenance
- function: caching, state-management
- domain: frontend, web-development, developer-tools, performance
- platform: browser, cross-platform
- tags: reselect, redux, react, memoization, selector-library, typescript, nodejs

## Member repositories
- toomuchdesign/re-reselect (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:19.903734+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:15.545098+00:00, confidence not recorded.
  - readme: https://github.com/toomuchdesign/re-reselect (fetched 2026-09-03T02:15:19.903734+00:00, sha 137871bd29e2)
  - registry_npm: https://registry.npmjs.org/re-reselect (fetched 2026-08-29T12:51:26.503975+00:00, sha a871873096ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
