Whitelist <dialog> from unknown tag warning (#11035)
Dan Abramov committed
Oct 2, 2017 at 18:59 UTC
223396ad0a63680a77b928712b34914ebc1e2788
1 file changed
+2
src/renderers/dom/fiber/ReactDOMFiberComponent.js
+2
@@ -66,6 +66,8 @@ if (__DEV__) {
66
// *don't* warn for <time> even if it's unrecognized by Chrome because
67
// it soon will be, and many apps have been using it anyway.
68
time: true,
69
+ // There are working polyfills for <dialog>. Let people use it.
70
+ dialog: true,
71
};
72
73
var validatePropertiesInDevelopment = function(type, props) {