src/containers/hotels-list.js
// props on the HotelList container - Just like mapStateToProps
props on the HotelList container - Just like mapStateToProps
props on the HotelList container - Just like mapStateToProps
function mapDispatchToProps(dispatch) {
	return bindActionCreators({ selectHotel: selectHotel }, dispatch);
}
function mapDispatchToProps ( dispatch ) { return bindActionCreators ( { selectHotel : selectHotel } , dispatch ) ; }
props on the HotelList container - Just like mapStateToProps
props on the HotelList container - Just like mapStateToProps
// bindActionCreators is doing this: // Whenever selectHotel is called, the result will be passed // to all the reducers // Dispatch function is like a funnel and passes it to // all reducers // We're calling our Action Creator through the key // of the same damn name; but the KEY is a KEY // And the action is what is binding the whole thing together