-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
domPropsInnerHTML does not work in tsx #1810
Comments
There's no longer Related RFC - https://github.com/vuejs/rfcs/blob/master/active-rfcs/0008-render-function-api-change.md#flat-vnode-props-format Types needs to be updated though https://github.com/vuejs/vue-next/blob/73807aeaf72ab102510f9a9dfa1dcc21c11bf23a/packages/runtime-dom/types/jsx.d.ts#L249 |
Thanks! It works, I'll create a pull requests to update |
How to update |
Version
3.0.0-rc.5
Reproduction link
https://codesandbox.io/s/wonderful-kepler-tmim6?file=/src/App.tsx:189-240
Steps to reproduce
Create a vite project and pass the
domPropsInnerHTML
property to a component in tsxWhat is expected?
Use
domPropsInnerHTML
to render html.Related document: https://github.com/vuejs/jsx#directives
What is actually happening?
domPropsInnerHTML
do not render anything.The text was updated successfully, but these errors were encountered: