Skip to content

Warnings should use console.warn #10633

@DennisKo

Description

@DennisKo

Do you want to request a feature or report a bug?
Bug (and Feature?)

What is the current behavior?
Warnings are logged out as console.error()

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/ebsrpraL/).
I am using React 16 RC and the behavior did come up with every warning React logged out so far.

What is the expected behavior?
Warnings should be logged out with console.warn(). This way we can actually filter the output of the console and distinguish between real errors and warnings.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16 RC / Chrome

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