I've seen references to getCurrentInstance() function on some old(?) documents and codes, but cannot find it in the current Vue 3 document.
Is getCurrentInstance() deprecated?
If so, what is the reason? (inject() considered enough?) If not, why can't I find it in the document?
getCurrentInstance(): github.com/vuejs/vue/blob/main/src/v3/currentInstance.ts