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
Sigiloso
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.