Pergunta de entrevista da empresa MEMIGHTY

How useEffect hook work with an empty dependency array?