title: vue 3 with jsx, but the h or this.$createElement is not a functrion
body: <pre><code>&lt;script&gt;
  export default {
    name: &quot;ref&quot;,
    props: {
      msg: String,
    },
    render(h) {
      return h(&quot;tag&quot;, {}, [&quot;123&quot;]);
    },
  };
  &lt;/script&gt;
  </code></pre>
  <p>if I use the above code, some error h is not a funtion is in console, but if I use the code as follow:</p>
  <pre><code>&lt;script&gt;
  export default {
    name: &quot;ref&quot;,
    props: {
      msg: String,
    },
    render(h) {
      return () =&gt; h(&quot;tag&quot;, {}, [&quot;123&quot;]);
    },
  };
  &lt;/script&gt;
  </code></pre>
  <p>The element in page is not the 123 but string. It is not be covert to HTML element, how can i solve it.</p>
  <pre><code>function () { return h(&quot;tag&quot;, {}, [&quot;123&quot;]); }
  </code></pre>