You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I loved reading and using this library, it is simple yet powerful.
There was an issue for me while making requests. It is common to provide additional headers like mode or authorization, or even change methods for some cases. Therefore, I'd want to propose extending the request logic by adding the requestOptions: RequestInit property and pass it to fetch like this: const response = await fetch(this.props.url, this.props.requestOptions);
The text was updated successfully, but these errors were encountered:
Thanks for your issue and the like!
I apologize that I didn't take fetch's configurability into account during the initial design, I'll be adding that feature as soon as I can this week!
Description
Hi! I loved reading and using this library, it is simple yet powerful.
There was an issue for me while making requests. It is common to provide additional headers like
mode
orauthorization
, or even change methods for some cases. Therefore, I'd want to propose extending the request logic by adding therequestOptions: RequestInit
property and pass it tofetch
like this:const response = await fetch(this.props.url, this.props.requestOptions);
The text was updated successfully, but these errors were encountered: