function performUpdateIfNecessary(internalInstance, transaction, updateBatchNumber) {
	    if (internalInstance._updateBatchNumber !== updateBatchNumber) {
	      // The component's enqueued batch number should always be the current
	      // batch or the following one.
	      !(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : invariant(false) : void 0;
	      return;
	    }
	    if (process.env.NODE_ENV !== 'production') {
	      if (internalInstance._debugID !== 0) {
	        ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');
	      }
	    }
	    internalInstance.performUpdateIfNecessary(transaction);
	    if (process.env.NODE_ENV !== 'production') {
	      if (internalInstance._debugID !== 0) {
	        ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');
	        ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);
	      }
	    }
	  }
/**
	   * Flush any dirty changes in a component.
	   *
	   * @param {ReactComponent} internalInstance
	   * @param {ReactReconcileTransaction} transaction
	   * @internal
	   */
Flush any dirty changes in a component.
@param {ReactComponent} internalInstance
@param {ReactReconcileTransaction} transaction
@internal
Flush any dirty changes in a component . @param { ReactComponent } internalInstance @param { ReactReconcileTransaction } transaction @internal
function performUpdateIfNecessary(internalInstance, transaction, updateBatchNumber) {
	    if (internalInstance._updateBatchNumber !== updateBatchNumber) {
	      !(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : invariant(false) : void 0;
	      return;
	    }
	    if (process.env.NODE_ENV !== 'production') {
	      if (internalInstance._debugID !== 0) {
	        ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');
	      }
	    }
	    internalInstance.performUpdateIfNecessary(transaction);
	    if (process.env.NODE_ENV !== 'production') {
	      if (internalInstance._debugID !== 0) {
	        ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');
	        ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);
	      }
	    }
	  }
function performUpdateIfNecessary ( internalInstance , transaction , updateBatchNumber ) { if ( internalInstance . _updateBatchNumber !== updateBatchNumber ) { ! ( internalInstance . _updateBatchNumber == null || internalInstance . _updateBatchNumber === updateBatchNumber + 1 ) ? process . env . NODE_ENV !== 'production' ? invariant ( false , 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)' , updateBatchNumber , internalInstance . _updateBatchNumber ) : invariant ( false ) : void 0 ; return ; } if ( process . env . NODE_ENV !== 'production' ) { if ( internalInstance . _debugID !== 0 ) { ReactInstrumentation . debugTool . onBeginReconcilerTimer ( internalInstance . _debugID , 'performUpdateIfNecessary' ) ; } } internalInstance . performUpdateIfNecessary ( transaction ) ; if ( process . env . NODE_ENV !== 'production' ) { if ( internalInstance . _debugID !== 0 ) { ReactInstrumentation . debugTool . onEndReconcilerTimer ( internalInstance . _debugID , 'performUpdateIfNecessary' ) ; ReactInstrumentation . debugTool . onUpdateComponent ( internalInstance . _debugID ) ; } } }
Flush any dirty changes in a component.
Flush any dirty changes in a component .
// The component's enqueued batch number should always be the current // batch or the following one.