Redux: Does it make sense to have successReducer and errorReducer to centralize http response management?

后端 未结 0 826
抹茶落季
抹茶落季 2021-02-13 15:55

I have followed a tutorial that centralizes React app error management with Redux in an errorReducer file:

errorReducer.js

impor         


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