Replies: 4 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
@TkDodo Thanks for the response, I'm sure I'm missing something here so pardon my misunderstanding on this.
|
Beta Was this translation helpful? Give feedback.
-
no worries, I think I closed prematurely and should've moved this to a discussion. apologies. if
|
Beta Was this translation helpful? Give feedback.
-
yes, so in the parent component, on the first render, I don't think you need state for the
loading is a derived state from |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
A clear and concise description of what the bug is.
Both
useIsFetching()
andqueryClient.isFetching()
are0
whenisFetching
from auseQuery
call istrue
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I expect
useIsFetching()
to return1
Screenshots
If applicable, add screenshots to help explain your problem.
Console log statement for

useIsFetching()
call:Console log statement for

<RecentPublication />
:useFetchCommentary
:Resultings logs:

Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions