tkh44 / holen

Declarative fetch for React
MIT License
150 stars 16 forks source link

Accept a request instance prop #16

Open jamesplease opened 6 years ago

jamesplease commented 6 years ago

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

Cons


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

tkh44 commented 6 years ago

Sounds great!