How strong can I rely on internal structure of a vnode (production mode)? #10877
-
I love to mutate slots' vnodes like in this example. Here I use
Wrap.vue
|
Beta Was this translation helpful? Give feedback.
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.
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