Open jamesplease opened 6 years ago
fetch() accepts a URL string as init as well as a Request object.
fetch()
init
Holen accepts the URL string via the url prop. It could accept an instance of Request as a request prop.
url
request
Pros
Cons
Happy to PR this if you're :+1:. Thanks for reading!
Sounds great!
fetch()
accepts a URL string asinit
as well as a Request object.Holen accepts the URL string via the
url
prop. It could accept an instance of Request as arequest
prop.Pros
Cons
url
orrequest
are passed in.Happy to PR this if you're :+1:. Thanks for reading!