StiffJobs
StiffJobs
Explore posts from servers
TtRPC
Created by StiffJobs on 5/7/2023 in #❓-help
Get undefined when the refetch function has successfully worked
I was trying to fetch the data when my function need it and use it afterward, the problem of using useQuery is that it doesn't change the data value immediately
10 replies
TtRPC
Created by StiffJobs on 5/7/2023 in #❓-help
Get undefined when the refetch function has successfully worked
Thanks for your response!
10 replies
TtRPC
Created by StiffJobs on 5/7/2023 in #❓-help
Get undefined when the refetch function has successfully worked
I've done it properly
10 replies
TtRPC
Created by StiffJobs on 5/7/2023 in #❓-help
Get undefined when the refetch function has successfully worked
I think the proper way of doing my expectation is to use useMutation
10 replies