fix: Inconsistent behaviour when using directive in render function via withDirectives
#435
Labels
bug
Something isn't working
withDirectives
#435
🐛 The bug
When using a render function and the
withDirectives
utility, if applying the directive to a vnode that's a component, everything works as expected.However, if it's being applied to a vnode that's a plain HTML Element, the data applied via the directive is not consistent across SSR and client.
🛠️ To reproduce
I've created a simplified reproduction at https://stackblitz.com/edit/github-s7ctqc?file=components%2FRendererComponent.vue,app.vue
mounted
hook🌈 Expected behaviour
The directive should be consistent regardless what type of VNode it's being applied to via the
withDirectives
utility.The text was updated successfully, but these errors were encountered: