componentDidMount() {
    const { breakpoint } = this.props;

    this.setDefaultActiveTab();
    this.updateAriaOrientation(window.innerWidth, breakpoint);
    window.addEventListener('resize', () => {
      this.updateAriaOrientation(window.innerWidth, breakpoint);
    });
  }
/*
   * Immediately invoke setDefaultActiveTab()
   * when component is inserted into the tree
   * and update state with the ID of the tab that's active by default.
   * Update aria-orientation and listen for resizes for future updates.
   */
Immediately invoke setDefaultActiveTab()
when component is inserted into the tree
and update state with the ID of the tab that's active by default.
Update aria-orientation and listen for resizes for future updates.
Immediately invoke setDefaultActiveTab () when component is inserted into the tree and update state with the ID of the tab that ' s active by default . Update aria - orientation and listen for resizes for future updates .
componentDidMount() {
    const { breakpoint } = this.props;
    this.setDefaultActiveTab();
    this.updateAriaOrientation(window.innerWidth, breakpoint);
    window.addEventListener('resize', () => {
      this.updateAriaOrientation(window.innerWidth, breakpoint);
    });
  }
componentDidMount ( ) { const { breakpoint } = this . props ; this . setDefaultActiveTab ( ) ; this . updateAriaOrientation ( window . innerWidth , breakpoint ) ; window . addEventListener ( 'resize' , ( ) => { this . updateAriaOrientation ( window . innerWidth , breakpoint ) ; } ) ; }
Immediately invoke setDefaultActiveTab()
 when component is inserted into the tree
 and update state with the ID of the tab that's active by default.
Immediately invoke setDefaultActiveTab () when component is inserted into the tree and update state with the ID of the tab that ' s active by default .