Using useSuspenseQuery for paginated requests
Am I understanding correctly that
I am changing pages through React Router search params from another component.
Currently, page changes work, but there is no indication of a loading state as there is with the initial
useSuspenseQuery is not the preferred way to render paginated data because, when changing pages, it is harder to show a loading state due to the existing data from the previous page? Or am I missing something?I am changing pages through React Router search params from another component.
Currently, page changes work, but there is no indication of a loading state as there is with the initial
useSuspenseQuery fetching.