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
flat-fuchsiaOP•16mo ago