composition-api icon indicating copy to clipboard operation
composition-api copied to clipboard

fix: render function overloading

Open nestle49 opened this issue 3 years ago • 0 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:

  1. use h() with 3 params
  2. 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

nestle49 avatar Jul 11 '22 11:07 nestle49