Re-reselect for Dart
re-reselect is a lightweight wrapper around Reselect meant to enhance selectors with deeper memoization and cache management.
Switching between different arguments using standard
reselect selectors causes cache invalidation since default
reselect cache has a limit of one.
re-reselect forwards different calls to different
reselect selectors stored in cache, so that computed/memoized values are retained.
re-reselect selectors work as normal
reselect selectors but they are able to determine when creating a new selector or querying a cached one on the fly, depending on the supplied arguments.
- Retain selector's cache when sequentially called with one/few different arguments
- Join similar selectors into one
- Share selectors with props across multiple component instances
- Instantiate selectors on runtime
reselectwith custom caching strategies