function createDOMFactory(tag) {
  if ("development" !== 'production') {
    return ReactElementValidator.createFactory(tag);
  }
  return ReactElement.createFactory(tag);
}
Create a factory that creates HTML tag elements.

@param {string} tag Tag name (e.g. `div`).
@private