T
TanStack2y ago
apparent-cyan

Getting paginated (infinite) data from a reactive endpoint

I am using tanstack query to fetch data from a reactive paginated endpoint that streams an array of json objects in ndjson format. I'm not sure if I handled invalidation correctly because I am modifying all the pages (the tanstack query library seems to just update 1 page). Code is below
1 Reply
apparent-cyan
apparent-cyanOP2y ago

Did you find this page helpful?