Skip to content

Commit 63b0434

Browse files
committed
Whitelist <dialog> from unknown tag warning
1 parent fbdd43f commit 63b0434

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renderers/dom/fiber/ReactDOMFiberComponent.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ if (__DEV__) {
6666
// *don't* warn for <time> even if it's unrecognized by Chrome because
6767
// it soon will be, and many apps have been using it anyway.
6868
time: true,
69+
// There are working polyfills for <dialog>. Let people use it.
70+
dialog: true,
6971
};
7072

7173
var validatePropertiesInDevelopment = function(type, props) {

0 commit comments

Comments
 (0)