bitplatform icon indicating copy to clipboard operation
bitplatform copied to clipboard

Add `Debounce` and `Throttle` features to the input components

Open Cyrus-Sushiant opened this issue 1 year ago • 1 comments

I would like to propose the addition of Debounce and Throttle features to the input components (TextField, NumberField, SearchBox, ...). These features can help optimize the performance of our application by limiting the rate at which a function can fire.

  • Debounce calls a function when a user hasn’t carried out an event in a specific amount of time.
  • Throttle calls a function at intervals of a specified amount of time while the user is carrying out an event.

Cyrus-Sushiant avatar May 21 '24 10:05 Cyrus-Sushiant

+1 I second this

keenan-chiasson avatar May 21 '24 15:05 keenan-chiasson