-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
support static tbody tr td elements #1268
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
Conversation
Thanks for this pr. But we can't warp some tags with user provider,like this case.And if we do it, should process it in complier time instead of runtime. |
thanks for reply , aviod compiler transform table node to staticNode maybe better, |
Here has an solution for this problem.#1230 track here. |
compiler is better for code organization |
we wrap table element and get firstChild by depth for return ,we also has same dom tree in ssr |
Yeah.I realizi it.So call back it. |
Thanks, skipping stringification at the compiler level is safer and more efficient. It also avoids adding more runtime code. |
thanks for reply |
Direct set
div.innerHTML
in insertStaticContent will result in lost rendering of table tags such as tr,td, we need to wrap the right table elements before innerHTMLtemplate example
template code
vue bug project
reder a simple table in App.vue
but only render the text
Bug Reason