liyachun.
liyachun.
CCConvex Community
Created by liyachun. on 12/19/2023 in #support-community
`_creationTime` issue for `withOptimisticUpdate`, and thoughts
Kind of thought that this feature is to make app work like a local first one, to me it doesn't seem like cache.
6 replies
CCConvex Community
Created by liyachun. on 12/19/2023 in #support-community
`_creationTime` issue for `withOptimisticUpdate`, and thoughts
The unexpected update means that, not only we need to sort, but also need to display the _creationTime field. Before mutation finish, displays 11:58.40, after a short time when mutation finish, the _creationTime become 11:58:40. While the client side creationTime is stable. However as this is basically how optimistic update works, the ui should avoid accessing unpredictable fields.
6 replies