1.0.0 • Published 11 months ago
@matinkaviani/react-use-async-hooks v1.0.0
React Async Hooks
A lightweight and powerful library for managing asynchronous logic in React.
With React Async Hooks, you can effortlessly handle fetches, mutations, caching, and even auto-generate TypeScript types from API responses!
✨ Features
- 🪄 Fetch Made Simple: Handle API calls seamlessly with
useFetch. - 🔄 Flexible Async Logic: Use
useAsyncfor any promise-based logic. - ⚡ TypeScript Support: Auto-generate TypeScript types from API responses.
- 🔁 Polling: Keep your data fresh with
usePolling. - 🚀 Zero Dependencies: Built with pure React and TypeScript.
📦 Installation
npm install @matinkaviani/react-use-async-hooks1.0.0
11 months ago