redux symbiote:轻松创建动作和减速器 源码
Redux-Symbiote 写你的动作和减速器,不要痛苦 用法 import { createSymbiote } from 'redux-symbiote' const initialState = { error : null , accounts : [ ] , loading : false , } const symbiotes = { accounts : { loading : { start : ( state ) => ( { ... state , loading : true } ) , failed : ( state
下载地址
用户评论