couzic / lenrix

Type-safe, reactive, focusable redux store wrapper
MIT License
23 stars 1 forks source link

Actions #11

Closed couzic closed 6 years ago

couzic commented 7 years ago

Define and implement the API to allow the dispatch and handling of actions on a Store. Open questions:

couzic commented 7 years ago

I'm very tempted to implement a way to handle actions in local stores. Since the whole point in state focusing and recomposition is to provide a local, simplified version of the root store, it would be annoying for the user to be forced to dispatch and handle actions on the root store if they only update the local state.