Skip to content

Adding better error message for missing mixin #2687

@justin808

Description

@justin808

Can I add an informative message to:
https://github.com/facebook/react/blob/master/src/class/ReactClass.js#L430

in case that we try to mixin either nil, null, or {}

(basically, I'll submit a patch if maintainers think this is a good idea)

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