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.

usefulsoftwareco Updated 4.3k repo stars
Executor demo

File contents

usefulsoftwareco/executor commit 44b6ef488a

Frequently asked questions

npx get-skill add usefulsoftwareco/wrdn-effect-atom-optimistic-2