Persistance for local/offline experience #275
-
We briefly touch on it during our TrailBase discussion and I would like to better understand:
Concretely, imagine the todo example app, but:
Anyway, I wanted to build a proof-of-concept and was curious if this is already possible with the existing primitives at least in theory? - I don't mind getting my hands dirty and implementing the logic around TS/db, if at all possible. Thanks 🙏 PS: I was browsing the git history and came across "persisting transactions to indexdb" and was curious if that was connected? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We've been discussing this in #82 — so more details there. Would love (more) of your help!
Kinda — an early prototype did persist transactions to indexeddb until they were persisted but I realized this should be an opt-in thing as there's a lot of nasty edge cases to consider — see my |
Beta Was this translation helpful? Give feedback.
We've been discussing this in #82 — so more details there. Would love (more) of your help!
Kinda — an early prototype did persist transactions to indexeddb until they were persisted but I realized this should be an opt-in thing as there's a lot of nasty edge cases to consider — see my
useOfflineMutation
suggestion #82 (comment)