Skip to content

Chaining self-closing hooks only renders the first component #48

@11905149

Description

@11905149

Hi,
I have encountered an issue in the newest Version of the library (3.1.1).
When chaining self-closing hooks without any characters in between, only the first component is correctly instantiated.
An example: <app-example /><app-example /> only shows one 👋 Example in the output.
When i separate the hooks with a space, like <app-example /> <app-example />, both components are instantiated.

I have created a StackBlitz forked from your Minimal example which shows the behaviour:
https://stackblitz.com/edit/github-f4auzw9x?file=src%2Fapp%2Fapp.component.ts

Thank you!

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