Skip to content

isStream should be flagged as a reserved property on Components #13271

@noslouch

Description

@noslouch

See this twiddle for a reduced test case. Open the console to see the error message:

Uncaught TypeError: object.subscribe is not a function

If you set isStream as a property on a Component (at least, maybe other classes too), rendering borks because isStream is used internally. I can put together a failing test and possibly a PR, just wanted to note it here in case anyone else wants to pick it up.

I'm imagining a helpful error message at run time that just states that isStream is a reserved property name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions