Pergunta de entrevista da empresa Fintastic

Tech quest 1: code review. I got a component having setState, useEffect with dependencies array (describe the purpose), setInterval inside a useEffect

Resposta da entrevista

Sigiloso

14 de jul. de 2022

Found all the problems and explained. In addition to the above, a part of solution was useRef (rarely used before), but after small googling, found a solution