import React, { Component } from 'react';

class SearchBar extends Component {
	render() {
		return <input onChange={this.onInputChange} />;
	}

	onInputChange(event) {
		console.log(event.target.value);
	}
}

export default SearchBar;
@@ -114,26 +114,48 @@
 ge=%7B
-this.onInputChange
+event =%3E console.log(event.target.value)
 %7D /%3E
@@ -161,16 +161,19 @@
 %3E;%0A%09%7D%0A%0A%09
+// 
 onInputC
@@ -188,16 +188,19 @@
 ent) %7B%0A%09
+// 
 %09console
@@ -226,16 +226,19 @@
 alue);%0A%09
+// 
 %7D%0A%7D%0A%0Aexp

Comment out other function and place function inline to reduce code.