Initial commit (#9917)
Jack Ford committed
Jun 10, 2017 at 10:51 UTC
a0534fb5c96498009a73a4026adb798e5fa3a719
1 file changed
-2
src/renderers/dom/fiber/ReactDOMFiberComponent.js
-2
@@ -190,7 +190,6 @@ function setInitialDOMProperties(
190
}
191
}
192
// Relies on `updateStylesByID` not mutating `styleUpdates`.
193
- // TODO: call ReactInstrumentation.debugTool.onHostOperation in DEV.
193
CSSPropertyOperations.setValueForStyles(domElement, nextProp);
194
} else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
195
var nextHtml = nextProp ? nextProp[HTML] : undefined;
@@ -240,7 +239,6 @@ function updateDOMProperties(
239
var propKey = updatePayload[i];
240
var propValue = updatePayload[i + 1];
241
if (propKey === STYLE) {
243
- // TODO: call ReactInstrumentation.debugTool.onHostOperation in DEV.
242
CSSPropertyOperations.setValueForStyles(domElement, propValue);
243
} else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
244
setInnerHTML(domElement, propValue);