Cannot use v-for in the slot
Version
3.0.4
Reproduction link
https://codesandbox.io/s/nice-shaw-8b9cv
Steps to reproduce
When using v-for in the slot, if the initial list object = [], an error will be reported directly in the subsequent push
What is expected?
Correctly perform responsive rendering
What is actually happening?
Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next
Found this problem in 3.0.4
I don't get an error (could be a cache problem of Codesandbox) but you are using the same key
for all of your todos, they must be different.
I don't get an error (could be a cache problem of Codesandbox) but you are using the same
key
for all of your todos, they must be different.
Thanks, updated the new code is not a problem with key
Then provide a valid reproduction, it's still the same code:
Sorry, just debugging the code. I have updated the code https://codesandbox.io/s/nice-shaw-8b9cv on this link