Unfortunately I can't find the source code for the core useAsync hook :-/ Lastly, looks like the use-axios package contains no tests. Neither do I, yet :-) Buyer beware.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I believe there's already an axios hook on npm. Great dive though.
Found it here: preview.npmjs.com/package/use-axios
though it looks like it just wraps another hook, useAsync: github.com/ArnoSaine/use-axios/blo...
Unfortunately I can't find the source code for the core useAsync hook :-/ Lastly, looks like the
use-axios
package contains no tests. Neither do I, yet :-) Buyer beware.