about summary refs log tree commit diff
path: root/src/lib/async/revertible.ts
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-161-68/+0
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* optimistic updates for liking custom feedsAnsh Nanda2023-05-221-0/+16
|
* #420: add updateDataOptimistically utility to disallow like counter out of ↵Ansh2023-04-191-0/+52
sync (#446) * add isLikedPressed flag to disallow like counter out of sync * create revertible helper for updateDataOptimistically * test implementation * Update updateDataOptimistically() and apply to reposts --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>