app/components/home/index.js
// This function makes Redux know that this component needs to be passed a piece of the state
This function makes Redux know that this component needs to be passed a piece of the state
This function makes Redux know that this component needs to be passed a piece of the state
function mapStateToProps(state, props) {
    return {
        loading: state.dataReducer.loading,
        cards: state.dataReducer.cards
    }
}
function mapStateToProps ( state , props ) { return { loading : state . dataReducer . loading , cards : state . dataReducer . cards } }
This function makes Redux know that this component needs to be passed a piece of the state
This function makes Redux know that this component needs to be passed a piece of the state