How strong can I rely on internal structure of a vnode (production mode)? #10877
Answered
by
LinusBorg
silentmantra
asked this question in
Help/Questions
-
I love to mutate slots' vnodes like in this example. Here I use
Wrap.vue
|
Beta Was this translation helpful? Give feedback.
Answered by
LinusBorg
May 6, 2024
Replies: 1 comment 1 reply
-
The VNode interface is part of the function signature of It's true that the interface could be better documented. You could bring this up in an issue in the docs repo |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
silentmantra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The VNode interface is part of the function signature of
h()
, which is a public API. So it will be stable. What could happen is that we add properties at some point, but we won't remove or rename them.It's true that the interface could be better documented. You could bring this up in an issue in the docs repo