Skip to content

toString on classname? #10857

@bradennapier

Description

@bradennapier

Did react used to call .toString() on non string objects it would receive? A few packages are not working anymore and as far as I can tell this is likely the reason. Specifically anything using bem-cn or similar.

Might be something to add to docs as a breaking change.

Can't figure out why else a few components are suddenly throwing errors and dont have any styles on them.

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