effetch
v0.0.0
Published
Immutable, clonable and effect-based solution for safe & simple http fetching.
Readme
effetch
Immutable, clonable and effect-based solution for safe & simple http fetching.
| Solution | Immutable | Clonable | Effect-based | Production-ready |
| ----------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------ | ---------------- |
| window.fetch | ❌ | ❌¹ | ❌ | 🆗 |
| effect-fetch | ✅ | ❌ | ✅ | ❔ |
| @effect/platform Http API | ✅ | ✅ | ✅ | ❌² |
| effetch | ✅ | ✅ | ✅ | ✅ |
- Why
window.Requestandwindow.Responseare not truly clonable? - Marked as unstable in the official documentation. Some methods implementation are still missing.
