Version
2.7.7
Reproduction link
stackblitz.com
Steps to reproduce
- Use the render function (
h
) to render a custom Vue component (this is not a problem with native HTML elements).
- Pass some props/attrs/slots in the render function.
- You'll see that the component is rendered without the passed props/attrs/slots. As if they weren't passed at all (you'll get the typical Vue warning about required props for example).
What is expected?
The component should render with the passed props/attrs and slots.
What is actually happening?
The component is rendered plain... as if no data was passed.
This works in Vue 3.