
November 16, 2020
When To Use Refetch Queries in Apollo Client
One of the most common use cases front-end developers face is re-render the UI after executing a mutation and changing something in the backend. To solve this problem, a lot of developers like to use the refetchQueries API. For example, if I wanted to add a todo to a list of todos, I might pass […]