zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.25k stars 623 forks source link

Question: should updating the query cache cause a hook to re-render? #1194

Closed quinn closed 2 years ago

quinn commented 2 years ago

I am using a hook for a query that returns items in a list. Elsewhere, i use writeQuery on the cache to update the cached value for the query. My expectation is that this would trigger the hook to re-render. Is something wrong with my usage, or is this not supported?

quinn commented 2 years ago

something wrong with my usage. disregard!