nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

KY universal 0.9.0 has just been released with ESM Support #161

Closed husayt closed 3 years ago

husayt commented 3 years ago

That should help to remove workarounds we have here

pi0 commented 3 years ago

Hi @husayt thanks for update. Actually i don't think we will use ky-universal again since it might introduce regressions again and global polyfill method might change in future (also next major version drops ky itself)

husayt commented 3 years ago

@pi0 just out of interest, what is going to be used instead of ky in next version?

pi0 commented 3 years ago

@husayt Most probably via new @nuxt/fetch module with ohmyfetch (both http and axios have legacy API and configration which is not suitable for future versions to support in module fetch and CAPI. So http will be deprecated and axios kept only for legacy since have LOTS of users as of today)