Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

fetch.js

6 lines145 Bytes

1import fetch from 'isomorphic-unfetch'
2​
3export default async function (...args) {
4 const res = await fetch(...args)
5 return await res.json()
6}