src/containers/book-list.js
// Anything returned form this function will end up as props on the BookList container
Anything returned form this function will end up as props on the BookList container
Anything returned form this function will end up as props on the BookList container
function mapDispatchToProps(dispatch) {
	return bindActionCreators(
		{ selectBook: selectBook },
		dispatch
	);
}
function mapDispatchToProps ( dispatch ) { return bindActionCreators ( { selectBook : selectBook } , dispatch ) ; }
Anything returned form this function will end up as props on the BookList container
Anything returned form this function will end up as props on the BookList container
// Whenever selectBook action creator is called, the result (an action) should be passed to all of our reducers