-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
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
Add Fetch API #745
Comments
Please add 👀 |
Hello guys, you can use a mutator to do that. Just like this. |
Very happy with the mutator. Works great with within Nuxt 3! |
There is actually an example of a custom client using fetch in the docs like shared above. |
A guide for creating a custom client is a lot less convenient than an option. Currently, this makes axios the de facto standard client. It sends a wrong signal to users: Generally, you should be using axios. When really, you probably will not need it. In this day and age Fetch is a great API. In some cases Fetch even supports features axios does not. Like Keep-Alive. |
Agree with @hahanein. |
We could for sure add a fetch client directly but for the moment it cannot be the default client since it would be a breaking change |
Fetch was added with this PR: #1353 |
Would you be interested in a pull request adding the Fetch API as a standard client?
The text was updated successfully, but these errors were encountered: