Vue does not update the UI after the queryClient.setQueryData() call...
In the devtools cache, the value is being updated right away... Would someone know what is causing Vue's reactivity to break?
2 Replies
sensitive-blue•2y ago
Do you have any code to show for this?
optimistic-goldOP•2y ago
sorry, I screwed up; my code would update the cache (I spread the array of objects) but wouldn't update the single record (because I wouldn't spread the object) when calling queryClient.setQueryData()
so 100% my fault 🤦♂️ 🐒