
  public componentWillReceiveProps(newProps: IProps) {
    if (newProps.imageUrl != this.props.imageUrl && newProps.imageUrl) {
      this.setState({ loaded: false });
      this.image.src = newProps.imageUrl;
    }
  }

  public componentWillUnmount() {
    if (this.image) {
      this.image.removeEventListener("load", this.imageLoadedFunc);
    }
  }
