Skip to content

Instantly share code, notes, and snippets.

View gigobyte's full-sized avatar

Stanislav Iliev gigobyte

  • Sofia, Bulgaria
View GitHub Profile
@connect((store, ownProps) => ({
category: getCategoryById(ownProps.categoryId, store.sports.get('categories')),
matches: filterMatchesByCategoryId(ownProps.categoryId, ownProps.matches)
}))
@connect((store) => ({
moviesWithGosling: store.movies.filter(movie => movie.get('cast').includes(1512))
}))