@samitouri / QOS-React / commits / 0a2ed64450

Remove dead code from DOMPropertyOperations (#11740)

Nathan Hunzaker committed Dec 1, 2017 at 08:27 UTC 0a2ed64450fcafecbbe502d4bb812843085e3918
1 file changed -10
packages/react-dom/src/client/DOMPropertyOperations.js
-10
@@ -187,11 +187,6 @@ export function setValueForProperty(node, name, value) {
187 );
188 return;
189 }
190 -
191 - if (__DEV__) {
192 - var payload = {};
193 - payload[name] = value;
194 - }
190 }
191
192 export function setValueForAttribute(node, name, value) {
@@ -203,11 +198,6 @@ export function setValueForAttribute(node, name, value) {
198 } else {
199 node.setAttribute(name, '' + value);
200 }
206 -
207 - if (__DEV__) {
208 - var payload = {};
209 - payload[name] = value;
210 - }
201 }
202
203 /**