Skip to content

virtual component uses part to associate with container #42

Open
@askbeka

Description

@askbeka

Since, container for virtual component is mapped to part in cache, same container is reused for other component:

html`${<p>${predicate ? ComponentOne() : ComponentTwo()}</p>}`

I made demo reproducing the issue

I haven't done deep dive into solving it, but from first sight container can be mapped to renderer instead of part

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvirtualVirtual components

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions