apollo-link-state-tutorial
apollo-link-state-tutorial copied to clipboard
GetCount question
Hi Ben, first of all, thank you so much for your YouTube Video about the apollo client cache. I cloned your repo and have a quick question: It seems that the query resolver is only triggered once, which means that the "Queries" component is out of sync after e.g. incrementing. Is this the regular behavior? I attached two screenshots:
Yes because they are different queries
query SimplePokemon {
count @client
pokemon(name: "Pikachu") {
maxHP
}
}
vs
query GetCount {
getCount @client
}