Pagination state resets on back navigation when syncing TanStack Query with React Router URL params
Goal Establish a consistent pattern for synchronizing pagination state across the URL, TanStack Query v5 cache, and a virtualized list (react-virtual) in a React 18 application using React Router v6. Constraints and uncertainty TanStack Query's useInfiniteQuery manages page cache internally but does not persist page parameters to the URL by default. React Ro