multiplyactions. It is about half the size of the equivalent vanilla Redux code.
createActiongenerates various types of action creator functions with minimal cerenomy. The specified action type value is made available as an action creator property (
mutliply.typein this example), making separate action type constants unnecessary. See the Actions guide.
chainReducershelpers can be combined as a less noisy alternative to the classic
switchreducer pattern. In TypeScript, the type of the sub-reducers'
actionparameters are automatically inferred from the action creators passed to
onAction, improving type safety and editor auto-completion. See the Reducers guide.