score:3

Accepted answer
const GetList = (queryFunctionContext) => {
  const queryKey = queryFunctionContext.queryKey
}

score:1

const { isLoading, isFetching, data, isError } = useQuery(["list",{id:idTest}],()=>GetList(idTest),{

Related Query

More Query from same tag