I’ve just changed the internal implementation of `useI18n` from `getCurrentInstance` to a provide-inject based fully approach. vue-i18n v12 is based on this implementation, and we might port v11 to it as well. github.com/intlify/vue-...
github.comfix: `useI18n` implementation with provide-inject by kazupon · Pull Request #2357 · intlify/vue-i18nBackground
The internal implementation of useI18n uses getCurrentInstance. While getCurrentInstance is provided in Vue 3.6, it is scheduled to become a deprecated API in Vue 4.0 and later.
We will ...
0 reposts4 likes