We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0-rc.1
https://jsfiddle.net/Ld492zqn/
From what I gathered, in Vue 2 v-for is lower priority than v-else so it should work correctly, but updating to vue 3 makes this code no longer work.
v-for
v-else
I looked in the vue eslint plugin, and they didn't add a warning for this because it's expected to work: vuejs/eslint-plugin-vue#799 (comment)
The loop works correctly.
message (key) is undefined
message
The text was updated successfully, but these errors were encountered:
Changing template to div fixes the issue.
template
div
AST for template
AST for div
It's not generating _renderList
_renderList
Sorry, something went wrong.
af7e100
No branches or pull requests
Version
3.0.0-rc.1
Reproduction link
https://jsfiddle.net/Ld492zqn/
Steps to reproduce
From what I gathered, in Vue 2
v-for
is lower priority thanv-else
so it should work correctly, but updating to vue 3 makes this code no longer work.I looked in the vue eslint plugin, and they didn't add a warning for this because it's expected to work: vuejs/eslint-plugin-vue#799 (comment)
What is expected?
The loop works correctly.
What is actually happening?
message
(key) is undefinedThe text was updated successfully, but these errors were encountered: