How can I use react-query in a React class component?

前端 未结 0 1358
无人共我
无人共我 2021-01-07 16:07

I realised: If I want to use hooks import { useQuery } from \'react-query\' I can only do that in React function components.

Do I have to rewrite my old

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