How to return async data in reducer

后端 未结 0 827
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-07 00:47

I\'m getting some data from back-end of my app, but I have a hard time returning state properly. Code:

if (action.type === actionTypes.getList) {
    const id         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题