Skip to content

Drop upper-casing of ReactDOMComponent.tagName #2288

@syranide

Description

@syranide

https://github.com/facebook/react/blob/master/src/browser/ui/ReactDOMComponent.js#L113

It works well for visually highlighting HTML tags in print, but it's somewhat weird for SVG and web components. Also because it's a public property that could be used for other purposes. This would also mean that we can drop the internal _tagName and just use tag unless there are other considerations.

Metadata

Metadata

Assignees

No one assigned

    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