Throwing an error in a component's render function duplicates sibling elements/components
Version
3.0.10
Reproduction link
https://jsfiddle.net/6hgxcnm8/2/
Steps to reproduce
- click the button
Foo
What is expected?
Number to the right of the button Foo
should increment.
What is actually happening?
All elements get duplicated.
All Bar
buttons now increment their numbers separately.
Also happens when created
throws an error. Only happens when rendering of the erroring component is NOT delayed (for example by an v-if="foo"
). Perhaps related to #3524?