5.3.1.1(P218页 line15)
function createThunkMiddleware(extraArgument){ return({ dispatch, getState }) => next => action => { if (typeof action === 'function') { return action(dispatch, getState, extraArgument); } return next(action); }; }
2024-01-02 12:26:40
5.3.1.1(P218页 line15)
function createThunkMiddleware(extraArgument){ return({ dispatch, getState }) => next => action => { if (typeof action === 'function') { return action(dispatch, getState, extraArgument); } return next(action); }; }