-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
vue render error when there is comment node and keep-alive and dynamic component #2134
Comments
I am not sure about the reason. But if I remove |
Excuse me, but I found the bug still occurs when built in production mode. Run index.5a30f16e.js:1 TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
at insert (index.5a30f16e.js:1)
at Z (index.5a30f16e.js:1)
at Z (index.5a30f16e.js:1)
at Z (index.5a30f16e.js:1)
at Object.i.deactivate (index.5a30f16e.js:1)
at Q (index.5a30f16e.js:1)
at w (index.5a30f16e.js:1)
at index.5a30f16e.js:1
at Object.n [as update] (index.5a30f16e.js:1)
at L (index.5a30f16e.js:1) {
"dependencies": {
"vue": "3.0.0"
},
"devDependencies": {
"@vue/compiler-sfc": "3.0.0",
"vite": "1.0.0-rc.4"
}
} @yyx990803 Could you check it? Thanks a lot. |
#2134 (comment) caused by use |
Yep, I use |
Version
3.0.0-rc.11
Reproduction link
https://codesandbox.io/s/github/lovetingyuan/vue3-comment-render-bug
Steps to reproduce
github: https://github.com/lovetingyuan/vue3-comment-render-bug
1 use vite to serve the website
2 click button:
show list
3 click first item
What is expected?
There should no errors.
What is actually happening?
The text was updated successfully, but these errors were encountered: