Optimistic update rollback on mutation failure
can you please point me out what code does it? because i ported react client to solidjs. maybe its because of this
1 Reply
https://github.com/get-convex/convex-js/blob/main/src/browser/sync/request_manager.ts#L121
https://github.com/get-convex/convex-js/blob/main/src/browser/sync/client.ts#L361
https://github.com/get-convex/convex-js/blob/main/src/browser/sync/optimistic_updates_impl.ts#L160
GitHub
convex-js/src/browser/sync/optimistic_updates_impl.ts at main · get...
TypeScript/JavaScript client library for Convex. Contribute to get-convex/convex-js development by creating an account on GitHub.
GitHub
convex-js/src/browser/sync/request_manager.ts at main · get-convex/...
TypeScript/JavaScript client library for Convex. Contribute to get-convex/convex-js development by creating an account on GitHub.
GitHub
convex-js/src/browser/sync/client.ts at main · get-convex/convex-js
TypeScript/JavaScript client library for Convex. Contribute to get-convex/convex-js development by creating an account on GitHub.