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

Render nothing caused by a comment #7351

Closed
a1mersnow opened this issue Dec 15, 2022 · 2 comments
Closed

Render nothing caused by a comment #7351

a1mersnow opened this issue Dec 15, 2022 · 2 comments

Comments

@a1mersnow
Copy link

Version

4.1.6

Reproduction link

https://github.com/a1mersnow/repro-comment

Steps to reproduce

  1. visit /b
  2. click 'to A'

What is expected?

rendering A

What is actually happening?

rendering nothing


However, if you remove the comment '' in Component TheB, the issue gone.

I meet the issue accidentally, it's very hard to discover/debug. At lease, we should warn in console, so the developer know how to fix it.

@LinusBorg
Copy link
Member

this would rather be because of the transition than because of the router.

I'll move this issue to vue core.

@LinusBorg LinusBorg transferred this issue from vuejs/router Dec 15, 2022
@posva
Copy link
Member

posva commented Dec 15, 2022

Duplicate of #4830

@posva posva marked this as a duplicate of #4830 Dec 15, 2022
@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants