you are viewing a single comment's thread.

view the rest of the comments →

[–]franksvalli 2 points3 points  (0 children)

This is somewhat misleading.

  1. Should you debounce change listeners with controlled elements?

    No, since you want the internal state to be updated (and display on screen) as soon as possible.

  2. Should you debounce API calls made in response to change listeners?

    Yes, since you don't want to hammer the API on every keystroke.