thunk 是redux作者给出的中间件,实现极为简单,10多行代码: function createThunkMiddleware(extraArgument) { return ({ dispatch, getState }) => next => action ...
確定! 回上一頁