fix: render function overloading
nestle49 opened this issue Β· comments
π The bug
render function works with 2 params h(type, data) or h(type, children), but doesn't work with 3 params: h('div', {}, children)
π οΈ To reproduce
Steps to reproduce the behavior:
- use h() with 3 params
- Children not render
https://codesandbox.io/s/nice-swirles-eqm642?file=/pages/index.vue
Remove data prop "My template ref is ${myTemplateRef.value} and where children?," from example, and children will be displayed
I looked, it still stretches from vue-composition-api, so I also created issue there:
However, I'm not 100% sure what the problem is vue-composition-api
upd. Problem arises only with data contains domProps, render collision
Stale issue message