Open drozdzynski opened 5 months ago
I suggest you write like this h('div', {}, `Preview: ${inputValue.value}`),
I suggest you write like this
h('div', {}, `Preview: ${inputValue.value}`),
I used h
only in the example to reproduce the issue, I found this issue when using TSX/JSX:
<div>Preview: {inputValue.value}</div>
Vue version
3.4.27
Link to minimal reproduction
https://stackblitz.com/edit/vue-ssr-example-mzy6gg?file=Example.js%3AL15
Steps to reproduce
Example in reproduction uses the equivalent of transformed TSX to
h
function usingesbuild
where the source in TSX:When I change code to below example all works fine
The issue exists only with
createSSRApp
.What is expected?
To be able to use TSX syntax:
What is actually happening?
App crashes in browser:
System Info
Any additional comments?
No response