amabushA
Convex Community9mo ago
2 replies
amabush

Show user's pending offline mutation(s)?

If a user does a mutation while offline, how does Convex handle that mutation? Let's say this app functions similarly to Instagram where you make posts to a timeline.

My understanding is that Convex will store the mutation and post in-memory, then keep retrying the mutation until the user is back online.

If my understanding correct? If it is, then is there a way to give the end user more control over, or at least visiblity into, these pending mutations? For example, the user is able to make a post even if they're offline, and on the UI it displays something like "3 posts pending a network connection. Would you like to retry now or Discard Changes?")
Was this page helpful?