src/components/List.js
// On mount cache the DOM elements and start the resize listener.
On mount cache the DOM elements and start the resize listener.
On mount cache the DOM elements and start the resize listener .
componentDidMount() {
    this.cacheElements();
    if (this.props.ixType == IX_TYPES[2]) {
      if (this.props.expanded) {
        this.resetIndex();
        this.setIndexForVisibles();
        this.toggleNavButtons();
        window.addEventListener('resize', this.resetPageThrottled);
      }
    }
  }
componentDidMount ( ) { this . cacheElements ( ) ; if ( this . props . ixType == IX_TYPES [ 2 ] ) { if ( this . props . expanded ) { this . resetIndex ( ) ; this . setIndexForVisibles ( ) ; this . toggleNavButtons ( ) ; window . addEventListener ( 'resize' , this . resetPageThrottled ) ; } } }
On mount cache the DOM elements and start the resize listener.
On mount cache the DOM elements and start the resize listener .