code: function connectStore(component, keys) {
  			var shouldReturnAFunction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  
  
  			// function that maps store state to component props
  			var mapStateToProps = function mapStateToProps(state) {
  
  				// initialize return object
  				var mappedState = {};
  
  				// populate return object
  				keys.forEach(function (key) {
  
  					// add selector connection
  					if (key.split(':').length === 2 && selectors[key.split(':')[1]]) {
  						mappedState[key.split(':')[0]] = selectors[key.split(':')[1]](state);
  
  						// add branch connection
  					} else if (state[key]) {
  						mappedState[key] = state[key].toJS();
  					}
  				});
  
  				return shouldReturnAFunction ? function (state, props) {
  					return mappedState;
  				} : mappedState;
  			};
  			return (0, _reactRedux.connect)(mapStateToProps)(component);
  		}
docs: creates a mapStateToProps function for connected components takes an array of strings