-
Notifications
You must be signed in to change notification settings - Fork 47k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Disable the "unrecognized tag" warning in React 16 but only for specific tags. #11023
Comments
We won't be making this customizable. But we're happy to take PRs that silence the warning for specific tags that are known to be on the standards track and will soon be implemented by the browsers. We already have such an exception for |
Okay, thanks. I'll see what I can do. |
It's in MDN and in the spec so seems like fair game. Let's add it. |
I was about to start to dig in to see how I could do that. But thank you. =) |
what about x3dom elements? |
Please file a new issue with an example. We could add more special cases. |
React |
We updated our |
Please provide a reproducing example. Maybe you're accidentally rendering them outside of SVG? |
Also, we don't track closed issues. If you have a problem please create a new one. |
- fix graphTitle propTypes - test for Edge.jsx show a warning relating to svg tags: facebook/react#11899 facebook/react#11023 but they still pass
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
In Firefox the
dialog
element is not implemented. We use a polyfill to be able to support it. Everything works well. But React warns that thedialog
element is unrecognized, and this on each page load, which is quite useless (for this specific case).I would like the possibility to disable the warning but only for some elements. So the utility of this warning remains when the developer mistype the component name.
What is the expected behavior?
Once we specified which tag are "accepted/normal" React will not warn on specified unrecognized tags.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16
Firefox 57
In previous versions there was no warning.
Is this clear enough? Do you need any other information?
Cheers
The text was updated successfully, but these errors were encountered: