Loading...
Loading...
Implements and documents Reatom v1001 (@reatom/core) using project conventions. Use when writing or modifying Reatom models, actions, async flows, routing, forms, persistence, framework adapters, examples, or docs — or when answering Reatom API questions.
npx skill4agent add reatom/reatom reatomwrapwithAsyncDatawithAbortreatom-async@reatom/jsxreatom-jsxreatom-review| Topic | Section |
|---|---|
| Atoms, computed, action, effect, extend | Core primitives and mental model |
| Queries and mutations | withAsync |
| Async context after await / callbacks | wrap rules |
| Collections, boolean, route helpers | Primitives quick usage |
| Nested reactive fields | Atomization |
| Subscribe error callback | Subscribe error listener |
| Logging, log.label, log.state | Full SPA example (logging setup) |
| Hooks, connect/disconnect, lazy work | Lifecycle and extension hooks |
| DOM / external events | Event sampling and orchestration |
| Hot derivations | Memoization: memo and memoKey |
| Fields and validation | Forms: base usage and reactive validation |
| SPA routes and loaders | Routing |
| Search params, storage | URL sync and persistence helpers |
| React Suspense integration | Suspense notes |
| Batched updates | Transactions notes |
| Tests and SSR | SSR and testing |
| Upgrades from older Reatom | v3 migration highlights |
/docs/handbook/*/docs/reference/*reatom*.set(...)computed(async () => ...).extend(withAsyncData(...))action(async () => ...).extend(withAsync(...))await wrap(promise)wrap(fn)computedeffectreatomFormreatomFieldreatomRoute.go(...).path(...)