build/web/c0.js
function(id, name, value) {
    var node = ReactMount.getNode(id);
    ("production" !== process.env.NODE_ENV ? invariant(
      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),
      'updatePropertyByID(...): %s',
      INVALID_PROPERTY_ERRORS[name]
    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));

    // If we're updating to null or undefined, we should remove the property
    // from the DOM node instead of inadvertantly setting to a string. This
    // brings us in line with the same behavior we have on initial render.
    if (value != null) {
      DOMPropertyOperations.setValueForProperty(node, name, value);
    } else {
      DOMPropertyOperations.deleteValueForProperty(node, name);
    }
  }
function(id, name, value) {
    var node = ReactMount.getNode(id);
    ("production" !== process.env.NODE_ENV ? invariant(
      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),
      'updatePropertyByID(...): %s',
      INVALID_PROPERTY_ERRORS[name]
    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));

    // If we're updating to null or undefined, we should remove the property
    // from the DOM node instead of inadvertantly setting to a string. This
    // brings us in line with the same behavior we have on initial render.
    if (value != null) {
      DOMPropertyOperations.setValueForProperty(node, name, value);
    } else {
      DOMPropertyOperations.deleteValueForProperty(node, name);
    }
  }
function ( id , name , value ) { var node = ReactMount . getNode ( id ) ; ( "production" !== process . env . NODE_ENV ? invariant ( ! INVALID_PROPERTY_ERRORS . hasOwnProperty ( name ) , 'updatePropertyByID(...): %s' , INVALID_PROPERTY_ERRORS [ name ] ) : invariant ( ! INVALID_PROPERTY_ERRORS . hasOwnProperty ( name ) ) ) ; // If we're updating to null or undefined, we should remove the property // from the DOM node instead of inadvertantly setting to a string. This // brings us in line with the same behavior we have on initial render. if ( value != null ) { DOMPropertyOperations . setValueForProperty ( node , name , value ) ; } else { DOMPropertyOperations . deleteValueForProperty ( node , name ) ; } }
Updates a DOM node with new property values. This should only be used to
update DOM properties in `DOMProperty`.

@param {string} id ID of the node to update.
@param {string} name A valid property name, see `DOMProperty`.
@param {*} value New value of the property.
@internal
Updates a DOM node with new property values . This should only be used to update DOM properties in DOMProperty .