An action is an object that tells your reducer what happened (e.g. toggle, click, etc.). Let's create a function onClick that calls the Redux store's dispatch() ...
確定! 回上一頁