erquhartE
Convex Community3y ago
7 replies
erquhart

Passing extra values to optimistic updates

Is there a recommended way of passing "extra" data to optimistic updates? Fairly often a mutation result requires more than the inputs, it'd be nice to pass that data (if available) to mutations that use optimistic updates.

For now I've been writing functions to pass the extra data into, and having those return the optimistic updater.
Was this page helpful?