Skip to content

Commit

Permalink
Feature: Reduce debounce wait time
Browse files Browse the repository at this point in the history
Reduce debounce wait time

Resolves: N/a
See also: N/a
  • Loading branch information
jdmedlock committed Dec 3, 2018
1 parent 6eef18d commit 2fef2e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions baselines/performance_baseline_04_debounce_20181202T205400

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/SearchTerms.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Search extends React.Component {

// Bind 'this' to the event handlers so they'll have the proper context
this.handleChange = this.handleChange.bind(this);
this.emitChangeDebounce = debounce(this.queryName, 150);
this.emitChangeDebounce = debounce(this.queryName, 75);

this.classes = props.classes;
this.saveSearchTerms = props.saveSearchTerms;
Expand Down

0 comments on commit 2fef2e8

Please sign in to comment.