Query not updating after mutation
So I have an endpoint that fetches a single artwork, within that component, I need to upload images to that single object but after firing the mutation, it does not update in real time, I believe there is something I may be doing wrong, Will appreciate a second look at my code to assist me. Thanks in advance
@TkDodo 🔮
2 Replies
optimistic-gold•3y ago
impossible to say from just seeing this snippet. Maybe this helps:
https://tkdodo.eu/blog/react-query-fa-qs#why-are-updates-not-shown
React Query FAQs
Answering the most frequently asked React Query questions
rare-sapphireOP•3y ago
thanks