When transform tsx components, they are converted to js files using the jsx function from vue/jsx-runtime. This results in warnings from Vue, as shown in the screenshot below. Code is how it looks in the browser.
However, if the tsx components are left as is, they are converted to js files using the createVNode function from vue. In this case, no errors occur. Code is how it looks in the browser.
Describe the bug
When transform
tsx
components, they are converted tojs
files using thejsx
function fromvue/jsx-runtime
. This results in warnings from Vue, as shown in the screenshot below. Code is how it looks in the browser.However, if the
tsx
components are left as is, they are converted tojs
files using thecreateVNode
function fromvue
. In this case, no errors occur. Code is how it looks in the browser.Reproduction
I can't provide reproduction because I'm using an internal UI Kit