ts-action
MiniRx supports writing and consuming actions with ts-action to reduce boilerplate code.
There are also ts-action-operators to consume actions in effects.
Install the packages using npm:
npm install ts-action ts-action-operators
#
Create Actions:ts-todo-actions.ts
#
Dispatch an Action:#
Reducer#
EffectsConsume actions in effects