async-fetch
JSON →A React hook for async fetch requests with built-in state management, cancellation, and polling. Current stable version is 0.4.0. Provides a simple, hook-based API for making HTTP requests with auto-fetch on mount, manual triggering, polling, and request cancellation. Ships TypeScript definitions. Key differentiators: minimal API surface, built-in polling, and cancellation via AbortController. Suitable for React 16+ projects needing a lightweight alternative to more complex data-fetching libraries like SWR or React Query.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 2 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · SA · 🇨🇦 Canada
Resources
packageasync-fetch ↗