Closed Shaddix closed 1 year ago
For hydration to work with useInfiniteQuery
the queryKey parameter should start with 2 same items as the underlying 'normal' query.
E.g. the Query key for 'findPet' query is ['Client', 'findPetsByStatus', status as any ]
.
The queryKey for your infinite query that uses the same results, should start with ['Client', 'findPetsByStatus']
data.pages
anddata.pageParams
are missing