Replies: 1 comment
|
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
queryCache.subscribe(callback)calls thecallback()with anevent: QueryCacheNotifyEventargument. Here are the possibletypesthateventmight be:query/packages/query-core/src/queryCache.ts
Lines 22 to 59 in 3c9df20
I'm curious about the differences between these types, and in particular what we expect to change when the events are fired? Is it expected that
updatedwill have itsquery.state.datachanged? Or will that only happen whenobserverResultsUpdatedis fired?Basically just looking for more documentation around these event types, and what kinds of differences are expected on an underlying
queryobject when one of these types are fired?addedremovedupdatedobserverAddedobserverRemovedobserverResultsUpdatedobserverOptionsUpdatedAll reactions