An open API service indexing awesome lists of open source software.

https://github.com/adenugbamichael/songs-redux


https://github.com/adenugbamichael/songs-redux

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# songs





songs-redux demo



#### The mapStateToProps function was updated to communicate the favoriteTitle piece of state into the component

#### Because the mapStateToProps function is now returning an object with a favoriteTitle property, the React component now has access to a prop of this.props.favoriteTitle

#### The mapping function inside of renderList compares the title of the current song it is iterating over to this.props.favoriteTitle