I got a textbox that once the user stops typing, I want to update the results(what ever they type will be applied to an array of data and will filter down anything that does match what they type).
Right now I am using onBlur but this of course will only activate after they leave the textbox.
Would it be better to do onChange and put a timer that gets cancelled if they continue to type?
Or is there a better way.
Not sure if it makes a difference but I am reactjs