把axios call移到redux里面

来源:6-12 登录注册-cookie保存登录状态

eldy

2017-12-02

我觉得把axioscall移到redux里面会比较统一一些,毕竟其他action也是在里面。我尝试了可是有warning

You tried to redirect to the same route

https://stackoverflow.com/questions/47603506/you-tried-to-redirect-to-the-same-route-youre-currently-using-authroute

写回答

1回答

慕瓜8449030

2017-12-06

你好,不是很明白axioscall移到redux里面是什么情况  我们现在 axios 也是通过 redux 来管理的

0
0

Redux+React Router+Node.js全栈开发

全网唯一的React 16+Redux+React Router4实战课程,学到手是你的真本领!

1822 学习 · 750 问题

查看课程