docs: function createInternalComponent(element) {
    ("production" !== process.env.NODE_ENV ? invariant(
      genericComponentClass,
      'There is no registered component for the tag %s',
      element.type
    ) : invariant(genericComponentClass));
    return new genericComponentClass(element.type, element.props);
  }