h4. Performing delete mutations
Delete mutations are not going to remove item from cache, however queries that are coming back from server are going to skip deleted object. As results queries will not include deleted object, but actual object can stay in cache .
Problem: by default delete is not going to remove item - another query is required (successful network query that is going to update the data. To resolve this problem refetchQueries can be used. Another way will be to manually remove element from cache (which I'm going to spike here) |
|