saga 怎么合并多個(gè) 例如 fetchData函數(shù)呢?一般sagas文件會(huì) export default function* watchFetchData函數(shù),函數(shù)中只能監(jiān)視一個(gè)action, 怎么才能監(jiān)視多個(gè)action呢?例如 reducer 的 combineReducers 函數(shù)
Redux Saga 實(shí)踐本文用以記錄從調(diào)研Redux Saga,到應(yīng)用到項(xiàng)目中的一些收獲。 什么是Redux Saga 官網(wǎng)解釋 來(lái)自:https://github.com/redux-saga/r...