getState() :取得當前所有存在state 的內容。 store.dispatch(action) :dispatch 的action 會傳送到reducer,是唯一用來改變state 的方式。
確定! 回上一頁