fact @community/fact-optimistic-update-tradeoff

Optimistic Update Tradeoff

Optimistic updates exchange immediate perceived responsiveness for two costs: (1) implementation complexity for rollback / reconciliation when the server rejects the operation, and (2) erosion of user trust when a previo…

Skill
@community
Domain
com.kernary.aoe/frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
175/414/763
$ aoe install @community/fact-optimistic-update-tradeoff

Projection

Always in _index.xml · the agent never has to ask for this.

OptimisticUpdateTradeoff [fact] v1.0.0

Optimistic UI updates (apply the change locally before the server confirms) trade perceived speed against rollback complexity and the cost of user-visible failures when the server rejects the change.

Optimistic updates exchange immediate perceived responsiveness for two costs: (1) implementation complexity for rollback / reconciliation when the server rejects the operation, and (2) erosion of user trust when a previously-confirmed action visibly reverses — making them most appropriate for high-frequency, low-failure operations (like / star / mark-read) and least appropriate for high-stakes, high-failure operations (payments, irreversible deletes).

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/fact-optimistic-update-tradeoff/atom.yaml