@nodata/redux-utils
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Redux Utils

Redux is commonly used for a single page application, and the best practice is to only use one state. This allows libraries as reselect to memoize selectors by using the references of a unique state.

In libraries relying on redux for the state management, a state is created for each instance, therefore reselect is not enough, as each call to a selector can target a different state, and thus invalidate the cache.

This library provides an automatic mechanism to allow memoization on multiple states.

Some tools to enforce typing with react and redux are also included in the library, but they are deprecated.

Installing

$ npm install @nodata/redux-utils

Readme

Keywords

Package Sidebar

Install

npm i @nodata/redux-utils

Weekly Downloads

6

Version

2.0.0

License

UNLICENSED

Unpacked Size

9.35 kB

Total Files

16

Last publish

Collaborators

  • nbalphonsine
  • myushu
  • tyrame
  • esong-nd
  • qmangeon