We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evan You says we can use the cloneVNode function - vuejs/core#815 (comment) - but I cannot find it in the composition API.
Tried import { cloneVNode } from 'vue' and import { cloneVNode } from '@vue/composition-api' but none works.
import { cloneVNode } from 'vue'
import { cloneVNode } from '@vue/composition-api'
I'm using Vue 2 with the @vue/composition-api package so what is the proper way to import the cloneVNode function?
@vue/composition-api
cloneVNode
Thank you.
The text was updated successfully, but these errors were encountered:
That's quite low-level API, I've created a draft PR, but the implementation is hacky since vue 2.x doesn't expose this internals in a good way.
Even if it gets ported there will be some limitations.
Sorry, something went wrong.
cloneVNode and other low level APIs are not part of the composition-api, so they won't be supported here.
Also the vdom of v2 is different than v3 making the port of this api not ideal.
pikax
Successfully merging a pull request may close this issue.
Evan You says we can use the cloneVNode function - vuejs/core#815 (comment) - but I cannot find it in the composition API.
Tried
import { cloneVNode } from 'vue'
andimport { cloneVNode } from '@vue/composition-api'
but none works.I'm using Vue 2 with the
@vue/composition-api
package so what is the proper way to import thecloneVNode
function?Thank you.
The text was updated successfully, but these errors were encountered: