Currently, ReactEventListener is a DOM-specific module but it has a generic sounding name that is confusing to contributors (i.e., confusing to me).

Let's rename it to ReactDOMEventListener. This should be pretty easy – just rename the file and update (and re-sort) the imports.

# @philipp-spiess is working on this task.
return ReactDOM.render(element, div);
  },
  isElement: function(element) {
    return React.isValidElement(element);
  },
  isElementOfType: function(inst, convenienceConstructor) {
    return React.isValidElement(inst) && inst.type === convenienceConstructor;
  },
  isDOMComponent: function(inst) {
    return !!(inst && inst.nodeType === 1 && inst.tagName);
  },
  isDOMComponentElement: function(inst) {
    return !!(inst && React.isValidElement(inst) && !!inst.tagName);
  },
  isCompositeComponent: function(inst) {
    if (ReactTestUtils.isDOMComponent(inst)) {
      
      
      return false;
    }
    return (
      inst != null &&
      typeof inst.render === 'function' &&
      typeof inst.setState === 'function'
    );