Skip to content

Commit

Permalink
Whitelist <dialog> from unknown tag warning (#11035)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 2, 2017
1 parent 9d4c2df commit 223396a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderers/dom/fiber/ReactDOMFiberComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ if (__DEV__) {
// *don't* warn for <time> even if it's unrecognized by Chrome because
// it soon will be, and many apps have been using it anyway.
time: true,
// There are working polyfills for <dialog>. Let people use it.
dialog: true,
};

var validatePropertiesInDevelopment = function(type, props) {
Expand Down

0 comments on commit 223396a

Please sign in to comment.