atomico-hooks-async
OfficialStreamline Atomico async data with suspense-ready hooks
Authoratomicojs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing asynchronous data flows in Atomico components is repetitive and error-prone, especially when coordinating multiple hooks and cancellation. This Skill provides a cohesive set of hooks to handle promises, suspense, and abort signals.
Core Features & Use Cases
- usePromise: track pending, fulfilled, rejected, and aborted states for async callbacks.
- useAsync: suspend rendering until data is available, simplifying data fetching patterns.
- useSuspense: establish a loading boundary and aggregate statuses across descendants.
- useAbortController: automatically abort in-flight requests when dependencies change or on unmount.
Quick Start
Create a component that fetches data using usePromise, useAsync, useSuspense, and useAbortController to handle loading, suspension, and cancelable requests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: atomico-hooks-async Download link: https://github.com/atomicojs/atomico/archive/main.zip#atomico-hooks-async Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.