function updateComponent(transaction, prevElement, nextElement, context) {
	    var lastProps = prevElement.props;
	    var nextProps = this._currentElement.props;

	    switch (this._tag) {
	      case 'button':
	        lastProps = ReactDOMButton.getNativeProps(this, lastProps);
	        nextProps = ReactDOMButton.getNativeProps(this, nextProps);
	        break;
	      case 'input':
	        ReactDOMInput.updateWrapper(this);
	        lastProps = ReactDOMInput.getNativeProps(this, lastProps);
	        nextProps = ReactDOMInput.getNativeProps(this, nextProps);
	        break;
	      case 'option':
	        lastProps = ReactDOMOption.getNativeProps(this, lastProps);
	        nextProps = ReactDOMOption.getNativeProps(this, nextProps);
	        break;
	      case 'select':
	        lastProps = ReactDOMSelect.getNativeProps(this, lastProps);
	        nextProps = ReactDOMSelect.getNativeProps(this, nextProps);
	        break;
	      case 'textarea':
	        ReactDOMTextarea.updateWrapper(this);
	        lastProps = ReactDOMTextarea.getNativeProps(this, lastProps);
	        nextProps = ReactDOMTextarea.getNativeProps(this, nextProps);
	        break;
	    }

	    assertValidProps(this, nextProps);
	    this._updateDOMProperties(lastProps, nextProps, transaction);
	    this._updateDOMChildren(lastProps, nextProps, transaction, context);

	    if (this._tag === 'select') {
	      // <select> value update needs to occur after <option> children
	      // reconciliation
	      transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);
	    }
	  }
/**
	   * Updates a native DOM component after it has already been allocated and
	   * attached to the DOM. Reconciles the root DOM node, then recurses.
	   *
	   * @param {ReactReconcileTransaction} transaction
	   * @param {ReactElement} prevElement
	   * @param {ReactElement} nextElement
	   * @internal
	   * @overridable
	   */
Updates a native DOM component after it has already been allocated and
attached to the DOM. Reconciles the root DOM node, then recurses.


Updates a native DOM component after it has already been allocated and attached to the DOM . Reconciles the root DOM node then recurses .
function updateComponent(transaction, prevElement, nextElement, context) {
	    var lastProps = prevElement.props;
	    var nextProps = this._currentElement.props;
	    switch (this._tag) {
	      case 'button':
	        lastProps = ReactDOMButton.getNativeProps(this, lastProps);
	        nextProps = ReactDOMButton.getNativeProps(this, nextProps);
	        break;
	      case 'input':
	        ReactDOMInput.updateWrapper(this);
	        lastProps = ReactDOMInput.getNativeProps(this, lastProps);
	        nextProps = ReactDOMInput.getNativeProps(this, nextProps);
	        break;
	      case 'option':
	        lastProps = ReactDOMOption.getNativeProps(this, lastProps);
	        nextProps = ReactDOMOption.getNativeProps(this, nextProps);
	        break;
	      case 'select':
	        lastProps = ReactDOMSelect.getNativeProps(this, lastProps);
	        nextProps = ReactDOMSelect.getNativeProps(this, nextProps);
	        break;
	      case 'textarea':
	        ReactDOMTextarea.updateWrapper(this);
	        lastProps = ReactDOMTextarea.getNativeProps(this, lastProps);
	        nextProps = ReactDOMTextarea.getNativeProps(this, nextProps);
	        break;
	    }
	    assertValidProps(this, nextProps);
	    this._updateDOMProperties(lastProps, nextProps, transaction);
	    this._updateDOMChildren(lastProps, nextProps, transaction, context);
	    if (this._tag === 'select') {
	      transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);
	    }
	  }
function updateComponent ( transaction , prevElement , nextElement , context ) { var lastProps = prevElement . props ; var nextProps = this . _currentElement . props ; switch ( this . _tag ) { case 'button' : lastProps = ReactDOMButton . getNativeProps ( this , lastProps ) ; nextProps = ReactDOMButton . getNativeProps ( this , nextProps ) ; break ; case 'input' : ReactDOMInput . updateWrapper ( this ) ; lastProps = ReactDOMInput . getNativeProps ( this , lastProps ) ; nextProps = ReactDOMInput . getNativeProps ( this , nextProps ) ; break ; case 'option' : lastProps = ReactDOMOption . getNativeProps ( this , lastProps ) ; nextProps = ReactDOMOption . getNativeProps ( this , nextProps ) ; break ; case 'select' : lastProps = ReactDOMSelect . getNativeProps ( this , lastProps ) ; nextProps = ReactDOMSelect . getNativeProps ( this , nextProps ) ; break ; case 'textarea' : ReactDOMTextarea . updateWrapper ( this ) ; lastProps = ReactDOMTextarea . getNativeProps ( this , lastProps ) ; nextProps = ReactDOMTextarea . getNativeProps ( this , nextProps ) ; break ; } assertValidProps ( this , nextProps ) ; this . _updateDOMProperties ( lastProps , nextProps , transaction ) ; this . _updateDOMChildren ( lastProps , nextProps , transaction , context ) ; if ( this . _tag === 'select' ) { transaction . getReactMountReady ( ) . enqueue ( postUpdateSelectWrapper , this ) ; } }
Updates a native DOM component after it has already been allocated and
 attached to the DOM.
Updates a native DOM component after it has already been allocated and attached to the DOM .
// <select> value update needs to occur after <option> children // reconciliation