reselect-computed
Declaratively created computed properties for Redux and Reselect.
Installation and Usage
CJS or ESM
$ npm i reselect-computed -S# or $ yarn add reselect-computed
// commonjsconst bindSelectCreators = ; // es modules;
Getting Started
// types.js // @flow
// constants.js // @flow ; const INITIAL: ICounter = value: 0;
// selectors.js // @flow ; ; const evenOrOdd = ;
// Counter.js // @flow ;;;;; ;;; const Counter = counter actions selectors : Props: ReactElement<Props> <div> <div className="typography"> <button onClick=actionsincrement>Increment</button> <p>Clicked: countervalue times value is selectorsevenOrOdd</p> </div> <style jsx>` .typography { padding: 0.25rem 0; } `</style> </div>; const mapStateToProps = counter selectors: ; const mapDispatchToProps = actions: ; Counter;