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: over 3 years ago
First release: over 3 years ago
Dependent packages: 2
Downloads: 37 last month
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago