title: ESLint: Use callback in setState when referencing the previous state
body: <p>For this piece of code I am getting eslint(AirBnb config) error:
  Use callback in setState when referencing the previous state</p>
  
  <p>Does this error influence performance somehow and how can it be solved?</p>
  
  <pre><code>  handleSelect(event) {
      const entry = event.nativeEvent;
  
      if (entry == null) {
        this.setState({ ...this.state, selectedEntry: entry });
      } else
        this.setState({
          ...this.state,
          selectedEntry: JSON.stringify(entry),
          markerIsEnabled: true
        });
  
      console.log(event.nativeEvent);
    }
  </code></pre>