Closed
Description
Version
3.0.0-alpha.10
Reproduction link
https://jsfiddle.net/3d2twLq9/1/
Steps to reproduce
Open the console, click on the button. Vue does some bad stuff.
What is expected?
v-if
is replaced by v-else
, no error
What is actually happening?
Stuff crashes, apparently because slot content is evaluated before v-if
, which results in null
dereferences and then bad stuff.
This minimal repro stays usable after the crash (you could set a new some
value and recover).
My own app is more complex and is unusable after this bug.