build/provideReactor.js
function provideReactor(Component, additionalContextTypes) {
  console.warn('`provideReactor` is deprecated, use `<Provider reactor={reactor} />` instead');
  // support decorator pattern
  if (arguments.length === 0 || typeof arguments[0] !== 'function') {
    additionalContextTypes = arguments[0];
    return function connectToReactorDecorator(ComponentToDecorate) {
      return createComponent(ComponentToDecorate, additionalContextTypes);
    };
  }

  return createComponent.apply(null, arguments);
}
function provideReactor(Component, additionalContextTypes) {
  console.warn('`provideReactor` is deprecated, use `<Provider reactor={reactor} />` instead');
  // support decorator pattern
  if (arguments.length === 0 || typeof arguments[0] !== 'function') {
    additionalContextTypes = arguments[0];
    return function connectToReactorDecorator(ComponentToDecorate) {
      return createComponent(ComponentToDecorate, additionalContextTypes);
    };
  }

  return createComponent.apply(null, arguments);
}
function provideReactor ( Component , additionalContextTypes ) { console . warn ( '`provideReactor` is deprecated, use `<Provider reactor={reactor} />` instead' ) ; // support decorator pattern if ( arguments . length === 0 || typeof arguments [ 0 ] !== 'function' ) { additionalContextTypes = arguments [ 0 ] ; return function connectToReactorDecorator ( ComponentToDecorate ) { return createComponent ( ComponentToDecorate , additionalContextTypes ) ; } ; } return createComponent . apply ( null , arguments ) ; }
Provides reactor prop to all children as React context

Example:
var WrappedComponent = provideReactor(Component, {
foo: React.PropTypes.string
});

Also supports the decorator pattern:
@provideReactor({
foo: React.PropTypes.string
})
class BaseComponent extends React.Component {
render() {
return <div/>;
}
}

@method provideReactor
@param {React.Component} [Component] component to wrap
@param {object} additionalContextTypes Additional contextTypes to add
@returns {React.Component|Function} returns function if using decorator pattern
Provides reactor prop to all children as React context