Support for plain Fetch API #1481
Replies: 4 comments 3 replies
-
I think it's planned for the v5 already. |
Beta Was this translation helpful? Give feedback.
-
Or what about the ability to use https://github.com/nuxt-contrib/ohmyfetch instead of axios? |
Beta Was this translation helpful? Give feedback.
-
I use GraphQL, what about this option ? |
Beta Was this translation helpful? Give feedback.
-
GraphQL (at least via Apollo) is covered in #72. Non-apollo will need a separate item to cover it. On the nuxt side, there's some plans to change how network requests happen to remove the axios requirement, and this will happen after nuxt 3 is out. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Users might not use
axios
or@nuxt/http
- particularly with the new Nuxt polyfill for fetch.It would be good to support the plain Fetch API, since it's already polyfilled by Nuxt.
Describe the solution you'd like to see
Do not load any
networkHandler
if set to false and default to the Fetch API.Beta Was this translation helpful? Give feedback.
All reactions