Is updating mutation state a good idea?
I am building a offline first react native app. I have a form that user submits. But app allows user to edit this data many times. This is needed when working in basement where there's no internet.
I am thinking of mutating the mutation state each time user edits the data.
Also, is it good idea to list items from mutation cache instead of performing optimistic updates? Optimistic updates will be lost if user refetches a query.
0 Replies