Followup to 6896, add explanation of workaround. (#6905)

This commit is contained in:
Jim
2016-05-27 09:19:25 -07:00
parent f329099831
commit ba3bfe3e31
@@ -624,6 +624,9 @@ ReactDOMComponent.Mixin = {
} else if (props.is) {
el = ownerDocument.createElement(this._currentElement.type, props.is);
} else {
// Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.
// See discussion in https://github.com/facebook/react/pull/6896
// and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
el = ownerDocument.createElement(this._currentElement.type);
}
} else {