- Change
dispatch
to arrow function in order to destructure systemconst { dispatch } = system
. - Support system option
serialize
for[email protected]
.
- new function
createStore
helps you create store quickly. - export
ReceiveBuilder
from dependent modulejs-actor
.
- state is optional. if state is primitive value, null, undefined, setState should replace state with it.
- upgrade js-actor to 1.1.5
- fix: Dispatch calls the tell multiple times would cause the eventStream emit the same times.
- feat: change the property state to
abstract
.
- drop the system options
- feat: change the mechanism of Dispath. Dispatch now will map the children to find the instance to tell.
- feat: new system options
withStoreEvent
. ifwithStoreEvent
is true, the lifecycles of store will dispatch StoreEvent.