Skip to content

Commit 0a2ed64

Browse files
nhunzakergaearon
authored andcommitted
Remove dead code from DOMPropertyOperations (#11740)
1 parent f99ecce commit 0a2ed64

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/react-dom/src/client/DOMPropertyOperations.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@ export function setValueForProperty(node, name, value) {
187187
);
188188
return;
189189
}
190-
191-
if (__DEV__) {
192-
var payload = {};
193-
payload[name] = value;
194-
}
195190
}
196191

197192
export function setValueForAttribute(node, name, value) {
@@ -203,11 +198,6 @@ export function setValueForAttribute(node, name, value) {
203198
} else {
204199
node.setAttribute(name, '' + value);
205200
}
206-
207-
if (__DEV__) {
208-
var payload = {};
209-
payload[name] = value;
210-
}
211201
}
212202

213203
/**

0 commit comments

Comments
 (0)