Comment

Godfrey Sisimogang

With regards to:
"One thing to notice on the React side is that the autocompleteSearch method can no longer use this.state.q because the function gets executed by the throttle function so the this is different. That's why, in this version we pass the search term as an argument instead."

 I think 'this' is the same throughout. I have console logged 'this' inside autompleteSearch and compared it to 'this' in render method.

Great article nontheless