Skip to content

'Warning: ' messages should use console.warn() #6414

@danbernardi

Description

@danbernardi

Currently they use console.error(), which overestimates their severity and causes devs to react more strongly than the message might imply.

Example:

warning.js:45 
Warning: Failed propType: Invalid prop `things` of type `array` supplied to `Item`, expected `object`. Check the render method of `Connect(Item)`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions