react-query is not updating the old state till I refresh page or lose focus

后端 未结 0 1437
既然无缘
既然无缘 2020-12-09 12:05

I have the following component which use react-query to fetch and update the state:

function classes() {
const { data, error, isFetching } = useQuery(\'classe         


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