Redux-saga
A redux middleware that deals with every side effect.
Basic Principle
- create a
SomethingSaga.ts
saga file that collects side effects of some variable.
- connect that saga file to
rootSaga.ts
file.
- dispatch the action that runs the saga file.