Commit graph

10 commits

Author SHA1 Message Date
Anders Ytterström
032f611b70 Load albums asyncronously
Introducing redux-sagas.
2019-03-31 12:30:19 +02:00
0f01801801 Add Angel Witch - Angel Witch 2019-03-17 16:26:38 +01:00
Anders Ytterström
7029ac9330
Create README.md 2019-03-06 16:37:26 +01:00
Anders Ytterström
5307cd3164 Do some spring cleaning 2019-03-06 16:34:36 +01:00
Anders Ytterström
7677570ad2 Remove webpack-dev-server
Severe security problems, and it is not needed since it only is used locally.

Here, it is replaced by a watch script, and relative paths to assets and resources so that index.html can be viewed directly in the browser instead of via a dev server.

Also, some minor production preparing stuffs (hiding elements not yet ready) and some ugly white space inconsistecy fixes.
2019-02-10 11:52:51 +01:00
Anders Ytterström
79bbf9188c Upgrade dependencies 2018-11-27 13:47:28 +01:00
Anders Ytterström
38f4244caf 🎨 Rename files for consistency and clarification 2018-11-26 11:31:53 +01:00
Anders Ytterström
74732c1683 🎨 Improve code readability 2018-11-26 09:46:05 +01:00
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