0👍
✅
Although it’s not strictly JSX, I haven’t better way to achieve this:
import { Comment, h } from 'vue'
export default {
render() {
return (
<strong>
Foo
{h(Comment, 'Baz')}
</strong>
)
},
}
-1👍
Source:stackexchange.com