As long as whatever you're using to fetch data returns a Promise, you can use it in the useQuery hook.
So when fetching data, you can use native fetch, axios, ky, or whatever else!
fetch
axios
ky