Remove config.beginUpdate (#8402)
I only used this to visualize changes when there were bugs in the incremental reconciliation. We don't need it anymore.
Sebastian Markbåge committed
Nov 23, 2016 at 14:44 UTC
224bdd888316d90c826960651d4272a2ccd2bdb5
1 file changed
-3
src/renderers/shared/fiber/ReactFiberBeginWork.js
-3
@@ -434,9 +434,6 @@ module.exports = function<T, P, I, TI, C>(
434
return workInProgress.child;
435
}
436
case HostComponent:
437
- if (workInProgress.stateNode && typeof config.beginUpdate === 'function') {
438
- config.beginUpdate(workInProgress.stateNode);
439
- }
437
return updateHostComponent(current, workInProgress);
438
case HostText:
439
// Nothing to do here. This is terminal. We'll do the completion step