React Redux dispatch action after another action
问题 I have an async action, which fetch data from REST API: export const list = (top, skip) => dispatch => { dispatch({ type: 'LIST.REQUEST' }); $.get(API_URL, { top: top, skip: skip }) .done((data, testStatus, jqXHR) => { dispatch({ type: 'LIST.SUCCESS', data: data }); }); }; A sync action, which changes skip state: export const setSkip = (skip) => { return { type: 'LIST.SET_SKIP', skip: skip }; }; Initial state for top = 10, skip = 0 . In component: class List extends Component {