Skip to content

Disallow props that look like directives #6823

@benmccann

Description

@benmccann

Describe the problem

Currently every directive we add is technically a breaking change, because someone could have already (for some reason) been using a prop/attribute called bubble:foo or whatever.

Describe the proposed solution

Pick a format for directives (probably what we already have now) and make it a compile-time error to have a prop that looks like a directive but doesn't match the names of any of them.

Alternatives considered

No

Importance

nice to have

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