Any warnings driven off of `warnAboutDeprecatedLifecycles` should use `shared/lowPriorityWarning` rather than `fbjs/lib/warning` to avoid thrashing automated tests.
const {props, type} = element;
    const oldState = this._instance.state || emptyObject;
    const oldProps = this._instance.props;
    if (oldProps !== props) {
      if (typeof this._instance.componentWillReceiveProps === 'function') {
        if (__DEV__) {
          if (warnAboutDeprecatedLifecycles) {
            const componentName = getName(element.type, this._instance);
            if (!didWarnAboutLegacyWillReceiveProps[componentName]) {
              warning(
                false,
                '%s: componentWillReceiveProps() is deprecated and ' +
                  'will be removed in the next major version. Use ' +