Commit graph

2 commits

Author SHA1 Message Date
Anders Ytterström
3d06ff065d Sort albums by year, artist or id
* The store gets a sort key.
 * Action creators and actions are added to set sort key.
 * A component is added which dispatches a reducer to update the state.
 * Album list get the sort key from the state and sort albums on render.
2018-11-21 14:58:11 +01:00
Anders Ytterström
ec27589232 Initial Commit
React app with Redux state, mostly based around the todo example in the
Redux documentation.

It's a list of items (albums) which can be filtered by a string.

 * A list of albums that is mapped from state to props.
 * A filter input is controlled by redux state.
2018-11-21 14:57:00 +01:00