npmjs.org : async-reducer-context
通过react-context,useReducer替代redux,可扩展支持与redux周边middleware中间件,通过useModel(['key'])可获取state和dispatch,其中useModel已做到获取的属性值变化,组件才会重新渲染,摆脱useContext因context中无关数据导致的重复渲染问题。
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/async-reducer-context
Keywords:
react
, reactjs
, redux-thunk
, redux-promise
, redux-saga
, hook
, useContext
, useReducer
, applymiddleware
, async
, createcontext-hooks
, redux-sagas
, usereducer
License: ISC
Latest release: about 4 years ago
First release: about 4 years ago
Dependent packages: 2
Downloads: 29 last month
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago
@everything-registry/sub-chunk-1175 0.1.0 removed
npm install @everything-registry/sub-chunk-11751 version - Latest release: almost 2 years ago - 63 downloads last month - 216 stars on GitHub - 2 maintainers
@zalastax/nolb-async-r 2023.1.22 removed
Subpackage of no-one-left-behind.1 version - Latest release: over 2 years ago - 103 stars on GitHub - 1 maintainer
Check this option to include packages that no longer depend on this package in their latest version but previously did.