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

(cherry picked from commit ba3bfe3e31)
This commit is contained in:
Jim
2016-05-27 09:19:25 -07:00
committed by Paul O’Shannessy
parent e8a8d005f0
commit a5d7fc84ee
@@ -617,6 +617,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 {