I'm looking at Definitions.kt and the Store. Thin...
# redux
p
I'm looking at Definitions.kt and the Store. Thinking perhaps this should be an interface, and createStore returns an object: Store {...}. It seems more inline with what we are really doing here, a definition of the interface. Data class doesn't really get you anything here - toString and equals are mostly useless given the fields are function objects
👍🏾 1