摘要: 1.redux-thunk:这个是为了配合react-reducer中的dispatch方法的异步操作 即在createStore()的第二个参数中传入applyMiddleware(thunk) 异步action, 使用redux-thunk 之后,就可以在actionCreator里return 阅读全文
posted @ 2020-02-19 15:09 whhhd 阅读(109) 评论(0) 推荐(0) 编辑