componentWillMount() {
    const id = uniqueId();
    this._styleId = `style-id${id}`;
    this._caretStyleId = `caretStyle-id${id}`;
    updatePseudoClassStyle(this._styleId, this._caretStyleId, this.props);
  }
Generates the style-id & inject the focus & hover style.