How would you debounce user input to avoid unnecessary re-renders or API calls · InterviewLane