src/containers/search_bar.js
// All DOM event handlers come along with event object
All DOM event handlers come along with event object
All DOM event handlers come along with event object
onInputChange(event){
        this.setState({ term: event.target.value });
    }
onInputChange ( event ) { this . setState ( { term : event . target . value } ) ; }
All DOM event handlers come along with event object
All DOM event handlers come along with event object
// Set state every time the user enters text into search // The value of this will not be the React component so method of setState will not be defined // Can be fixed by using () => this.onInputChange OR bind the context of onInputChange