I\'m using react-query library to fetch data from API, and I wrote code to make optimistic updates (because API is slow).
So, for example, I\'m making requests with