Redux Saga
/ˈsɑːɡə/ · Noun · Development
Definitions
A Redux middleware library that uses ES6 generator functions to manage complex side effects — such as API calls, retries, and race conditions — as declarative, testable sequences of yielded effect descriptions rather than imperative callback chains.
In plain English: A way to handle complex asynchronous tasks in a Redux app by writing step-by-step instructions that are easy to test and reason about.
Example: "The saga watches for LOGIN_REQUEST, calls the auth API, and dispatches either LOGIN_SUCCESS or LOGIN_FAILURE — all testable without mocking fetch."