Redux can I use one action type in separate reducers?
问题 I have a situation in my Redux application where I currently have 3 separate reducers that handle the fetching of data from an api. An example of one of my reducers would be: const INITIAL_STATE = { data: [], loading: false, error: '' }; export default (state = INITIAL_STATE, action) => { switch (action.type) { case GET_ALL_ORDERS_START: return { ...state, loading: true }; case GET_ALL_ORDERS_SUCCESS: return { ...state, allOrders: action.payload, loading: false }; case GET_ALL_ORDERS_FAIL: