reactor-async
OfficialEffortlessly manage async data in Reactor.
Authormicrosoft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Async data in Reactor is managed with dedicated hooks for single fetch, writes with optimistic updates, cursor-based pagination, and a bubble-up fallback, eliminating manual cancellation and scattered state management.
Core Features & Use Cases
- UseResource: fetch a single resource and expose AsyncValue<T> with Loading, Data, Error, and Reloading states.
- UseMutation: perform server mutations with optimistic updates and a stable Mutation handle.
- UseInfiniteResource: cursor-based pagination with page loading, caching, retry, and refresh capabilities.
- Pending: bubble-up fallback that aggregates loading across nested resources.
Quick Start
Create a Reactor component that uses UseResource to fetch data and UseMutation to update it.
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: reactor-async Download link: https://github.com/microsoft/microsoft-ui-reactor/archive/main.zip#reactor-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 620,000+ vetted skills library on demand.