holen
holen copied to clipboard
Accept a request instance prop
fetch()
accepts a URL string as init
as well as a Request object.
Holen accepts the URL string via the url
prop. It could accept an instance of Request as a request
prop.
Pros
- More complete support of the fetch API
Cons
- Requires adding custom debugging logic to verify that either
url
orrequest
are passed in.
Happy to PR this if you're :+1:. Thanks for reading!
Sounds great!