[Vuejs]-Vue: can't use render props with TSX

0👍

That looks like a known issue with babel-plugin-transform-vue-jsx. I solved this just by adding this string manually inside my function with jsx:

const h = this.$createElement;

And it works as it should in terms that it compiles and works fine. But of course it’s just a crutch.

Leave a comment