How to view defer
loading state, similar to loader
with useNavigate
#7563
Unanswered
cliffordfajardo
asked this question in
Q&A
Replies: 1 comment
-
same question here, havent found a solution :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background Context
For example I know with loader you can use useNavigate to see if some data is in progress
However, is there a similar way to hook into the progress of data that is coming from
defer
?Use case: implement a spinner outside of where the stream'd data is rendered
When I hook into
useNavigate
it doesnt seem to update when I make a page transition:defer
idle
Stackblitz Code
defer-data.mp4
References
Beta Was this translation helpful? Give feedback.
All reactions