Skip to content
New issue

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

v-for render twice #1665

Closed
a1mersnow opened this issue Jul 21, 2020 · 0 comments
Closed

v-for render twice #1665

a1mersnow opened this issue Jul 21, 2020 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@a1mersnow
Copy link

Version

3.0.0-rc.2

Reproduction link

https://github.com/aimergenge/reproduction-for-vue3

Steps to reproduce

  1. clone the reproduction repo
  2. use cd move into it
  3. yarn
  4. yarn dev

What is expected?

v-for is correctly rendered

What is actually happening?

v-for render twice


This is a very weird problem……

When you delete the scoped style block of App.vue, it works!
When you delete the comment in HelloWorld.vue's template block, it works!
When you delete the custom directive v-nothing in HelloWorld.vue, it works!
When you add v-if="data" to the container tag in HelloWorld.vue, it works!

@posva posva added the 🐞 bug Something isn't working label Jul 21, 2020
underfin added a commit to underfin/vue-next that referenced this issue Jul 21, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants