redux -thunk中就運用了類似的特性。thunk是一種利用function的形式來表示一連串的async actions:. const someAsyncAction = () => (dispatch ...
確定! 回上一頁