Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of helpers and utilities for selectors

License

NotificationsYou must be signed in to change notification settings

sgrishchenko/reselect-utils

Repository files navigation

build statuscoverage statusnpm versiongithub license

Install

Install from the NPM repository using yarn or npm:

yarn add reselect-utils
npm install reselect-utils

Motivation

Such projects asReselect andRe-reselect try to solve the task of memoization. But there is no standard solutions for some applied problems. This library was created to try to systematically solve the following problems:

  • Work with optional objects as a source for selection.
  • Binding parametric selectors to specific property values.
  • Adaptation of parametric selectors to the new parameter interface (useful for creating parametricstructured selectors).
  • Using selection results as parameters for a new selection.
  • Calculating the aggregate value from a collection of selector results.
  • Structuring of selection results (more proper typed version ofstructured selector andcached structured selector).
  • Implementation of key selectors composition (useful forkey selector creator usages).

Credits

Reselect Utils is inspired by projects such asReselect,Re-reselect andts-optchain.Also functional programming principles are used for design of this library. For example,Chain Selector was inspired by Monad Pattern.

About

A collection of helpers and utilities for selectors

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp