Pergunta de entrevista da empresa Gorgias (CA)

Gave me some sample react code that was rendering a chart and a slider. Each slide change was redrawing the chart from a different angle. Asked me how would I optimize

Resposta da entrevista

Sigiloso

16 de mai. de 2025

Answer was that debounce was needed. Had to introduce useCallback and debounce to make it work. They would then ask how would you write the code for a debouncer.