componentWillMount() {
    const id = uniqueId();
    this.ratingWrapperStyleId = `rating-wrapper-style-id${id}`;
    updatePseudoClassStyle(this.ratingWrapperStyleId, this.props, this.preventFocusStyleForTouchAndClick);

    if (canUseDOM) {
      this.mouseUpOnDocumentCallback = this._onMouseUpOnDocument;
      document.addEventListener('mouseup', this.mouseUpOnDocumentCallback);
    }
  }
Apply pseudo class styling to the wrapper div.