Join Slack
Powered by
In Apollo 2, you could react to <changes to the ca...
# apollo-kotlin
n
Nick
10/21/2021, 7:32 PM
In Apollo 2, you could react to
changes to the cache
. What’s the best way to do this with Apollo3? Is it:
Copy code
apolloClient.watch(MyQuery())
?
👌 1
m
mbonnin
10/21/2021, 8:08 PM
Yes it is!
n
Nick
10/21/2021, 9:11 PM
woah thats niceeee!!
Nick
10/22/2021, 3:07 PM
ahh, i see it in the notes here:
https://github.com/apollographql/apollo-android/blob/dev-3.x/docs/source/caching/normalized-cache.mdx
Nick
10/22/2021, 3:07 PM
thanks 🙂
2
Views
Open in Slack
Previous
Next