What is Vue 3 analog of Vue.extend in vue 2?

I tried this code:

const instance = getCurrentInstance()
let vNode = h(Component)
vNode.appContext = instance.appContext
render(vNode, popupWindows.value)

But injection in this code not works… How can I programaticaly create components with working inject?

Have you read the migration guide on this? If you still can’t get it to work, please post a replication of your issue on JSFiddle or Codesandbox.

1 Like

Yes, i have read it, but it dont help me, thees components still have not acces to provided properties.
I just made Codesandbox that illustrate my probel: affectionate-mountain-c6l47 - CodeSandbox