1.0.0 • Published 11 months ago

@matinkaviani/react-use-async-hooks v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

React Async Hooks

npm license build

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 useAsync for 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-hooks
1.0.0

11 months ago