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
useFetchp
Is your feature request related to a problem? Please describe. no it's not a problem it's just syntax sugar.
Describe the solution you'd like I feel like I'm actually using fetch when making a POST request.
For example right now my POST request looks like this:
const { data, error, doFetch, isFetching } = useFetchp('GET', 'localhost:3050/api/auth/v1/register') doFetch({ body: JSON.stringify({ email: 'info@ssibrahimbas.com', }), })
I think we can do it this way:
const { data, error, doFetch, isFetching } = useFetchp('GET', 'localhost:3050/api/auth/v1/register') doFetch({ email: 'info@ssibrahimbas.com', })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
no it's not a problem it's just syntax sugar.
Describe the solution you'd like
I feel like I'm actually using fetch when making a POST request.
For example right now my POST request looks like this:
I think we can do it this way:
The text was updated successfully, but these errors were encountered: