Subscribe on changes!

Cannot use v-for in the slot

avatar
Dec 3rd 2020

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

avatar
Dec 3rd 2020

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.

avatar
Dec 3rd 2020

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

avatar
Dec 3rd 2020

Then provide a valid reproduction, it's still the same code:

Screen Shot 2020-12-03 at 10 15 40

avatar
Dec 3rd 2020

Then provide a valid reproduction, it's still the same code:

Screen Shot 2020-12-03 at 10 15 40

Sorry, just debugging the code. I have updated the code https://codesandbox.io/s/nice-shaw-8b9cv on this link