Skip to content

Recreating element fails when using class-based selector #43

Open

Description

@amaschas

If I define a component using a CSS class as a selector like this:

@Component({})
export class App {
  selector: '.app-container'
}

The element recreation process will create a new element but won't apply the relevant class(es), and the component fail to find the necessary selector. Would it be possible to just duplicate the element being removed, so that the element that replaces it is identical?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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