You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see on the network tab that when either of the mutations happen a the useList is re-executed and returns the expected response. The problem is that the value of list stays the same. I can't figure out what is going wrong or how to best debug it.
For example, I add an item to the list. I see on the network tab the re-executed request for the list, which includes this item I just added. But list on the react component is still empty.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add/remove something from a list while using urql with the default
cacheExchange.I can see on the network tab that when either of the mutations happen a the
useListis re-executed and returns the expected response. The problem is that the value ofliststays the same. I can't figure out what is going wrong or how to best debug it.For example, I add an item to the list. I see on the network tab the re-executed request for the list, which includes this item I just added. But
liston the react component is still empty.Using
Any idea what is wrong or how to try to debug it?
Beta Was this translation helpful? Give feedback.
All reactions