if (nextProps.onError !== onError) {
      propsCopy.onError = nextProps.onError;
      this.propsOnError = getEvent(nextProps.onError);
    }