Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

[MDCComponent] Disallow component initialization more than once #4715

Closed
@moog16

Description

Related https://github.com/material-components/material-components-web/pull/4691/files#r282497724

This feature request is to add the INIT_STATE_INITIALIZED attribute to base/component.ts. This gives us the flexibility to throw an error if the component is instantiated with the same DOM Node.

Metadata

Assignees

No one assigned

    Labels

    Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.feature-requesticebox

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions