To support consistency with the Fetch component, the useFetch hook will take in a props object for url, options, etc.
I might consider change the name of the package to better represent it's not just a component (but also a hook). I'm considering using a scoped @techniq/react-fetch instead of trying to come up with a unique name.
Support
useFetch
hooks APIalong with the existing
Fetch
render props componentTo support consistency with the
Fetch
component, theuseFetch
hook will take in a props object forurl
,options
, etc.I might consider change the name of the package to better represent it's not just a component (but also a hook). I'm considering using a scoped
@techniq/react-fetch
instead of trying to come up with a unique name.TODO