code: function (component, ref, owner) {
  	    !ReactOwner.isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0;
  	    var ownerPublicInstance = owner.getPublicInstance();
  	    // Check that `component`'s owner is still alive and that `component` is still the current ref
  	    // because we do not want to detach the ref if another component stole it.
  	    if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) {
  	      owner.detachRef(ref);
  	    }
  	  }
docs: Removes a component by ref from an owner component.
  
  @param {ReactComponent} component Component to dereference.
  @param {string} ref Name of the ref to remove.
  @param {ReactOwner} owner Component on which the ref is recorded.
  @final
  @internal