Commit graph

7 commits

Author SHA1 Message Date
Jordan Eldredge
67441f3c1b Change how actions are typed
If we want to use the new version of react-redux we need to be compatible with their types.

Sadly it does not seem to be possible to create a Dispatchable type which can be eiher a plain action or a thunk and still be compatible with react-redux's types becuase they use redux's Store type under the hood which assumes you have an object with a string type property.
2019-05-01 22:29:10 -07:00
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -07:00
Jordan Eldredge
7e7f7e6877 Move tracks into their own reducer 2018-10-10 20:59:16 -07:00
Jordan Eldredge
1f7a448b0b Store selected tracks as a Set rather than a property on the track
This will allow us to move tracks into their  own reducer which we'll need for the Media Library
2018-10-10 00:53:40 -07:00
Jordan Eldredge
76b85df82e Handle one case where we can leave a track playing after it's been removed 2018-09-18 07:42:37 -07:00
Jordan Eldredge
342ac3dac9 Ignore issue with Object.keys always returning string[] 2018-09-17 17:04:05 -07:00
Jordan Eldredge
80ff286e00 Type playlist action creators 2018-09-17 17:04:05 -07:00
Renamed from js/actionCreators/playlist.js (Browse further)