TanStackT
TanStack2y ago
3 replies
near-sapphire

all fetched pages get set to the same value as page one using useInfiniteQuery

When hitting back button and returning to a page using useInfiniteQuery, each array/page already fetched will get updated to the result of the first page fetch. This occurs when navigating back using the browser back button.
image.png
Was this page helpful?