saga-toolkit 2.3.5 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ The biggest criticism of Redux Saga has always been its verbosity. `saga-toolkit
|
|
|
21
21
|
- **The "Glue" You Needed:** While libraries like React Query are great for fetching, Sagas are still unbeatable for complex background orchestration, race conditions, and heavy business logic. `saga-toolkit` is the perfect glue to connect that logic to your modern UI.
|
|
22
22
|
- **Best of Both Worlds:** Keep the power of Generators but gain the ease of `await` and standard Redux Toolkit patterns.
|
|
23
23
|
|
|
24
|
+
> *"The reason I’m still sticking with Sagas in mid-to-large projects is a matter of **'architectural safety.'** With Sagas, I never have to worry about a product feature becoming so twisted (complex cancellations, racing multiple async flows, or multi-step orchestration) that the tool can't handle it. It’s that security of knowing I won’t hit a wall regardless of how 'insane' the requirements get."*
|
|
25
|
+
|
|
24
26
|
## 🎮 Try the Example App
|
|
25
27
|
|
|
26
28
|
This project includes a fully functional **Todo App** built with **Vite**, **React 18**, and **TypeScript** to demonstrate:
|
|
@@ -39,7 +41,6 @@ npm run dev
|
|
|
39
41
|
```
|
|
40
42
|
|
|
41
43
|
### Try Online (StackBlitz)
|
|
42
|
-
> Note: Requires the package to be published to npm.
|
|
43
44
|
|
|
44
45
|
[](https://stackblitz.com/github/janoist1/saga-toolkit/tree/master/example)
|
|
45
46
|
|
|
@@ -47,8 +48,6 @@ npm run dev
|
|
|
47
48
|
|
|
48
49
|
```bash
|
|
49
50
|
npm install saga-toolkit
|
|
50
|
-
# or
|
|
51
|
-
yarn add saga-toolkit
|
|
52
51
|
```
|
|
53
52
|
|
|
54
53
|
*Peer Dependencies: `@reduxjs/toolkit`, `redux-saga`*
|