Redux-actionsにコメントつけてみた
本家のURL
https://redux-actions.js.org/
import { createActions, handleActions, combineActions } from 'redux-actions';const defaultState = { counter: 10 };const { increment, decrement } = createActions({ INCREMENT: (amount = 1) => ({ amount }