发起:store.dispatch(increment());; Redux Thunk中间件(需安装react-thunk包) function incrementIfOdd(){ return (dispatch, getState){ const value = getState();
確定! 回上一頁