docs: function transformReact(source, options) {
    // TODO: just use react-tools
    options = options || {};
    var visitorList;
    if (options.harmony) {
      visitorList = visitors.getAllVisitors();
    } else {
      visitorList = visitors.transformVisitors.react;
    }
  
    if (options.stripTypes) {
      // Stripping types needs to happen before the other transforms
      // unfortunately, due to bad interactions. For example,
      // es6-rest-param-visitors conflict with stripping rest param type
      // annotation
      source = transform(typesSyntax.visitorList, source, options).code;
    }
  
    return transform(visitorList, source, {
      sourceMap: supportsAccessors && options.sourceMap
    });
  }