Create global debounce time variable of 250 and replace instances
The following discussion from !56708 (merged) should be addressed:
-
@tomquirk started a discussion: (+4 comments) thought: I'm surprised we don't have a shared constant defined for this
😬
Proposal
Add a constant to app/assets/javascripts/lib/utils/constants.js
that defines the default debounce time:
// app/assets/javascripts/lib/utils/constants.js
export const DEFAULT_DEBOUNCE_MS = 250;
Edited by Tom Quirk