-
I want to display a loading indicator while waiting for new data to be fetched after searchParams is updated via useSearchParams hook. The use case is to implement pagination, sorting and filtering. I tried to use useNavigation, but the state stays idle. |
Beta Was this translation helpful? Give feedback.
Answered by
izznat
Dec 22, 2023
Replies: 1 comment
-
Never mind, something else preventing the state update. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
izznat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind, something else preventing the state update.
useNavigation
actually works.