title: How do I make a tab highlight with React
body: <p>I want to know how to make a Tab highlight everytime an event happens, in this case, it would be a call. So, if the user isn't in my website in the moment, he will know that a event happenned. My <code>useEffect</code> looks like the following:</p>
  <pre><code>useEffect(() =&gt; {
    if (newCall &lt; calls.length){
      setHighlight(true)
      setNewCall(calls.length)
    }
  }, [calls.length])
  </code></pre>