Parsing data in useInfiniteQuery while also keeping the paginated results? #4867
-
Hello, I'm quite new to tanstack query, going through svelte query, so I'm not sure if this is possible or not. Basically, I have a setup where my backend returns paginated data, I still need the paginated results for displaying and such, but I also want to change specific posts based on id. So, I'm asking - is this at all possible? Is there a something simple I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi 👋 Have you tried programmatically setting the query data via the query client? Please see: https://tanstack.com/query/v4/docs/react/reference/QueryClient#queryclientsetquerydata |
Beta Was this translation helpful? Give feedback.
Hi 👋
Have you tried programmatically setting the query data via the query client? Please see: https://tanstack.com/query/v4/docs/react/reference/QueryClient#queryclientsetquerydata