A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-next/issues/910 below:

v-if on component · Issue #910 · vuejs/core · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4