React-query library - how to make optimistic updates typed with TS?

后端 未结 0 1991
北海茫月
北海茫月 2021-02-02 02:29

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题