利用 function 接受 dispatch 做為參數,就是redux-thunk的主要想法。 ... function thunkListTodos() { return async (dispatch, getState) ...
確定! 回上一頁