redux_machine 0.1.2 redux_machine: ^0.1.2 copied to clipboard
Redux State Machine and Store with no side-effects.
Changelog #
0.1.2 #
- Added
onError
argument toStoreBuilder
andStateMachineBuilder
. - Fixed: don't swallow errors in action dispatch flow.
- Removed
StoreError
class.
0.1.1 #
- Added type argument to
StoreEvent
for the action payload type for better static analysis. - Added
store
field toStoreEvent
which contains reference to the stateStore
(orStateMachine
) which produced that event. - Added
Store.changesFor
to allow listening for changes on a part of the application state.
0.1.0 #
- Deprecated
ReduxMachine
implementation in favor of newStateMachine
class. - Added separate Redux
Store
implementation which can be used on its own. NewStateMachine
usesStore
internally for state management. - Updated readme with some details on side-effects handling in this library.
0.0.1 #
- Initial version, created by Stagehand