title: React Hook useEffect has a missing dependency
body: <p>I am having this problem to build my app. Anyone knows what is wrong?</p>
  
  <blockquote>
    <p>React Hook useEffect has a missing dependency: 'conectar'. Either include it or remove the dependency array  react-hooks/exhaustive-deps</p>
  </blockquote>
  
  <pre><code>const GraficoEquivalenteNovo = props =&gt; {
    const [equivalenteNovos, setEquivalenteNovos] = useState([]);
    const [data, setData] = useState([]);
    async function conectar() {
      const resposta = await ConexaoGraficoEquivalenteNovo(props);
      setEquivalenteNovos(resposta[0]);
      setData(resposta[1]);
    }
    useEffect(() =&gt; {
      conectar();
    }, [props]);
  
    return (....)
  };
  </code></pre>