We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251d6c3 commit f27e3aaCopy full SHA for f27e3aa
src/renderers/dom/shared/ReactDOMComponent.js
@@ -860,15 +860,15 @@ ReactDOMComponent.Mixin = {
860
// listener (e.g., onClick={null})
861
deleteListener(this, propKey);
862
}
863
- } else if (
864
- DOMProperty.properties[propKey] ||
865
- DOMProperty.isCustomAttribute(propKey)) {
866
- DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);
867
} else if (this._namespaceURI === DOMNamespaces.svg) {
868
DOMPropertyOperations.deleteValueForSVGAttribute(
869
getNode(this),
870
propKey
871
);
+ } else if (
+ DOMProperty.properties[propKey] ||
+ DOMProperty.isCustomAttribute(propKey)) {
+ DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);
872
873
874
for (propKey in nextProps) {
0 commit comments