shouldComponentUpdate()

in src/query-assist/query-assist.tsx [302:322]


  shouldComponentUpdate(props: QueryAssistProps, state: QueryAssistState) {
    return (
      state.query !== this.state.query ||
      state.dirty !== this.state.dirty ||
      state.loading !== this.state.loading ||
      state.showPopup !== this.state.showPopup ||
      state.suggestions !== this.state.suggestions ||
      state.styleRanges !== this.state.styleRanges ||
      state.placeholderEnabled !== this.state.placeholderEnabled ||
      state.shortcuts !== this.state.shortcuts ||
      props.placeholder !== this.props.placeholder ||
      props.disabled !== this.props.disabled ||
      props.clear !== this.props.clear ||
      props.focus !== this.props.focus ||
      props.actions !== this.props.actions ||
      props.loader !== this.props.loader ||
      props.glass !== this.props.glass ||
      props.className !== this.props.className ||
      props.delay !== this.props.delay
    );
  }