KıteK
Convex Community17mo ago
11 replies
Kıte

withOptimistic in fetchMutation

Is there a way to use withOptimistic in fetchMutation?
I tried to usereact useOptimistic hooks with preloadQuery but
Preload<typeof api.dbquery>
somehow _id and _createdTime is required in new obj.
Was this page helpful?