Wrdn Effect Atom Optimistic

Detects hand-rolled optimistic-update plumbing in React code that should be using effect-atom's Atom.optimistic and Atom.optimisticFn instead. Run on diffs touching packages/react/src/api/atoms.tsx, packages/react/src/pages/**/*.tsx, or any file that imports an effect-atom mutation atom from ./api/atoms. The hand-rolled patterns race on concurrent mutations and the codebase has chosen the effect-atom primitives as the canonical answer.

rhyssullivan 44b6ef4 11.2 KB Updated

File contents

rhyssullivan/executor/tree/main/.agents/skills/wrdn-effect-atom-optimistic commit 44b6ef488a

Frequently asked questions

npx skillmds@latest add rhyssullivan/wrdn-effect-atom-optimistic