Skip to content

Render nothing caused by a comment #7351

Closed as not planned
Closed as not planned
@a1mersnow

Description

@a1mersnow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions