We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a question about this line of code
https://github.com/alex-cory/use-http/blob/7715b206a1790ad2d44e311e1e3fb13a5dfc02b4/src/useFetch.js#L4
Why not write it like this:
const isObject = obj => Object.prototype.toString.call(obj) === '[object Object]'
I think you must have a special consideration, so Im very curious. Could you tell me what your thought if you have time. THX~
The text was updated successfully, but these errors were encountered:
Actually that's just a typo LOL nice catch :)
Sorry, something went wrong.
Do you wanna do a PR? :) Otherwise I can do it
@alex-cory 😃 No problem~ I'll create a PR this afternoon(🇨🇳time zone)
No branches or pull requests
I have a question about this line of code
https://github.com/alex-cory/use-http/blob/7715b206a1790ad2d44e311e1e3fb13a5dfc02b4/src/useFetch.js#L4
Why not write it like this:
I think you must have a special consideration, so Im very curious.
Could you tell me what your thought if you have time.
THX~
The text was updated successfully, but these errors were encountered: