Chained query
Hi,
I am trying to find a way to use react-query to make a set of queries where the URL of the next query is part of the previous query response.
Eg: API response for first query will be like
{
....,
meta: {
next: <next_paginated_query_url>
}
}
TIA.
2 Replies
unwilling-turquoise•4y ago
infinite queries with
getNextPageParam sounds like what you'd wantquickest-silverOP•4y ago
Thanks that seems to what I was looking for.