You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
TagName appears on the wrappers of DOM elements, which mimics the tagName that already exists on the native dom elements. These wrappers are temporary and will be going away. When that happens, users will get the native dom elements, which have the native tagName property with the same semantics. So, since these are scheduled for deletion and will happen naturally as part of that future commit, I'm going to close out this issue.
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 usetag
unless there are other considerations.The text was updated successfully, but these errors were encountered: