Loading...
Loading...
Masters Reatom v1001 async flows. Use when implementing, documenting, or reviewing Reatom async queries, mutations, wrap usage, withAsync, withAsyncData, withAbort, abortVar, sampling, take, onEvent, race, framePromise, Suspense, retry, caching, or race-prone UI workflows.
npx skill4agent add reatom/reatom reatom-asyncreatom@reatom/jsxreatom-jsxreatom-reviewChoosing the PrimitivewithAsyncDatawithAsyncawaitwrap RuleswithAbortabortVar and Fetch SignalsSampling and Procedural AsyncRedux-Saga MappingStatus, Retry, ResetSuspense BoundariesCommon MistakesTested Edge Casescomputed(async () => ...).extend(withAsyncData({ initState }))action(async () => ...).extend(withAsync(...))withAbort(...)await wrap(promise)wrap(fn)onEventsignal: abortVar.require().signalabortVar.subscribe()await wrap(sleep(ms))withAbort()reatomForm({ onSubmit })validateawait wrap(sleep(ms))withAsyncwithAsyncData.datawithAsyncwithAbort.status(){ status: true }.retry(){ cacheParams: true }withCache()withAsync()withAsyncData()Promise.race