Dispatch Actions with useReducer
React.useReducer takes *actions* to modify state. An action is just an object with a `type` and optional `payload` properties... Assignment Sandbox: https://codesandbox.io/s/react-holiday-day-17-n6xmv
React.useReducer takes *actions* to modify state. An action is just an object with a `type` and optional `payload` properties... Assignment Sandbox: https://codesandbox.io/s/react-holiday-day-17-n6xmv