re-reselect

JSON →
library 5.1.0 ·javascript
verified Jun 7, 2026

A lightweight wrapper around Reselect that provides deeper memoization and cache management for selectors. Current stable version is 5.1.0. Since Reselect v5, many re-reselect features are now native in Reselect, but re-reselect continues to offer backward compatibility and custom caching strategies. It maintains a cache of Reselect selectors keyed by a user-defined key selector, allowing different calls with different arguments to hit separate caches. Compared to bare Reselect, re-reselect prevents cache invalidation when switching between different argument values, making it ideal for sharing selectors across multiple component instances or sequentially calling selectors with varying parameters.