Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add DebounceInput component #8

Merged
merged 9 commits into from
Dec 8, 2020
Merged

Conversation

vickyyyyyyy
Copy link
Member

@vickyyyyyyy vickyyyyyyy commented Dec 4, 2020

Add a new input component which will call a passed in function after a delay which can be overridden.

This is ideal for cases where we may want to run a query but not necessarily after every single onChange.

Stories:

Default delay of 275ms:
di

Custom delay of 1000ms:
di de

@vickyyyyyyy vickyyyyyyy requested a review from a team December 4, 2020 16:17
@vickyyyyyyy vickyyyyyyy merged commit 58b3720 into master Dec 8, 2020
@vickyyyyyyy vickyyyyyyy deleted the add-debounce-input branch December 8, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants