how to refetch or invalidate queries after mutations #16
Replies: 2 comments 2 replies
-
Firstly, all kinds of job ( Then, you don't have to use Finally, what you're trying to acheive is Optimistic Updates |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. I used
|
Beta Was this translation helpful? Give feedback.
-
I have a screen that contains list of todos like this:
and I have a AlertDialog that when the user press on the FloatingActionButton it will appear and user can add new todo:
I want the list to be updated after create mutation and the new item appeared in the list on pop. How can I achieve that?
Beta Was this translation helpful? Give feedback.
All reactions