-
-
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
fix(compiler-core): remove child node key validation for template vFor (Fix #5360) #5392
fix(compiler-core): remove child node key validation for template vFor (Fix #5360) #5392
Conversation
✔️ Deploy Preview for vuejs-coverage ready! 🔨 Explore the source changes: d6f5e94 🔍 Inspect the deploy log: https://app.netlify.com/sites/vuejs-coverage/deploys/62040df28da2b500070684b3 😎 Browse the preview: https://deploy-preview-5392--vuejs-coverage.netlify.app |
✔️ Deploy Preview for vue-next-template-explorer ready! 🔨 Explore the source changes: d6f5e94 🔍 Inspect the deploy log: https://app.netlify.com/sites/vue-next-template-explorer/deploys/62040df209eb330007295d8b 😎 Browse the preview: https://deploy-preview-5392--vue-next-template-explorer.netlify.app |
✔️ Deploy Preview for vue-sfc-playground ready! 🔨 Explore the source changes: d6f5e94 🔍 Inspect the deploy log: https://app.netlify.com/sites/vue-sfc-playground/deploys/62040df29b80db00074e1985 😎 Browse the preview: https://deploy-preview-5392--vue-sfc-playground.netlify.app/ |
Merged wrong branch. Will re-submit. |
Added back missing bracket.
Decided to just update this PR w/ the correct code instead of creating a new one. Sorry for the back and forth. |
@yyx990803 comment in #5360 that lead to this PR Basically, we can drop this check as it simply works without it, and losing it is even necessary to be able to properly key transition-group children. |
As discussed within #5360, remove the validation that prevents child nodes of templates that contain a v-for directive from having keys.
Fix #5360
Fix #4718