-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed as not planned
Labels
Description
Describe the bug
The types for useQueries in the react query alpha doesn’t accept an abort signal handler to be passed to the query function.
Your minimal, reproducible example
Steps to reproduce
Run the ts playground
Expected behavior
I expected useQueries to accept query configs that are the same as a useQuery config.
I would really like for #5153 to support creating a query config that can be passed to useQuery or useQueries
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Arc
Tanstack Query adapter
react-query
TanStack Query version
v5.0.0-alpha.21
TypeScript version
v5.0.4
Additional context
No response