diff --git a/src/renderers/shared/fiber/ReactFiberClassComponent.js b/src/renderers/shared/fiber/ReactFiberClassComponent.js index 7392fbb6c90..96eccebbaf0 100644 --- a/src/renderers/shared/fiber/ReactFiberClassComponent.js +++ b/src/renderers/shared/fiber/ReactFiberClassComponent.js @@ -92,9 +92,6 @@ module.exports = function(scheduleUpdate : (fiber: Fiber, priorityLevel : Priori const state = instance.state || null; - // A class component update is the result of either new props or new state. - // Account for the possibly of missing pending props by falling back to the - // memoized props. let props = workInProgress.pendingProps; if (!props) { throw new Error('There must be pending props for an initial mount.');