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

When the variable in a v-for loop has the same name as the component being rendered, the element may not render in the production build. #11730

Open
bsuooo opened this issue Aug 28, 2024 · 0 comments · May be fixed by #11731 or #11744

Comments

@bsuooo
Copy link

bsuooo commented Aug 28, 2024

Vue version

@42e8df6

Link to minimal reproduction

https://play.vuejs.org/#eNp9UUFOwzAQ/MrKl15CoracSooEqAc4AAJumEOVbIKLY1u2EyJV+TtrRylFQCXL8s6Mx+PdPbsyJu1aZCuWu8IK48Ghb80lV6Ix2nq40Y2ByuoGZmkWiiCfXXDFVaGV8yAFbWt4nSewSGD5Fpg8G83IhgqPjZFbj1QB5NGwO6u0XXMWC11FE84gI0meHelZwryjdypRpzunFeXcBxfOCropJNoH4wXl4GwFkQncVkr9eRcxb1tMJrx4x+LjD3zn+oBx9mjRoe2QswPnt7ZGyhbozfM99nQ+kI0uW0nqE+QTOi3bkHGUXbeqpNhHupj2NnZbqPrFbXqPyk2fCkGDcoh6zqj7oWn/ff077jI9j/e4GqiL0+R+DfrUqErRxQPAfLGkFcFsRH+OafgCGk7AVw==

Steps to reproduce

Click the ‘dev’ button to switch to prod causes the Comp component not to render.

What is expected?

The dev and prod environments are consistent || Dev throw a warning

What is actually happening?

Why is there a difference between the dev and prod environments?

System Info

No response

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants