how can I add innerhtml(or innertext) using h() function?
For some reasons I need to use virtual DOM and Here is my code, // test.js import { h, ref } from ‘vue’ const ButtonCounter = { name: ‘button-counter’, props: { tag: { type: String, default: ‘div’ } }, setup (props) { const sliderClass = ref(‘slider-slide’) return () => { return h(props.tag, { class: sliderClass.value… Read More how can I add innerhtml(or innertext) using h() function?