holen icon indicating copy to clipboard operation
holen copied to clipboard

Accept a request instance prop

Open jamesplease opened this issue 7 years ago • 1 comments

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 or request are passed in.

Happy to PR this if you're :+1:. Thanks for reading!

jamesplease avatar Jan 20 '18 20:01 jamesplease

Sounds great!

tkh44 avatar Jan 26 '18 21:01 tkh44