dva icon indicating copy to clipboard operation
dva copied to clipboard

[Feature Request] dispatch可以传入一个数组吗?

Open junyangfan opened this issue 2 years ago • 1 comments

一个dispatch可以传入多个对象,触发多个effects,例如: dispatch([ { type: 'apiLand/getHome' }, { type: 'apiLand/getList' } ])

junyangfan avatar Apr 25 '22 02:04 junyangfan

dva目前不在维护状态,恐怕难以兼容后续react-18的相关项目。

试试这几个替代方案: https://github.com/foca-js/foca https://github.com/rematch/rematch https://github.com/reduxjs/redux-toolkit

geekact avatar Apr 25 '22 03:04 geekact