This release comes in parallel with the return of space:ui
@ 6.0.0, which provides the foundation for building any style of Space UI, not just using a flux pattern. This package depends on space:ui
to compose the Space.flux.Store
, the only flux-specific object you now need to use.
Space.flux.BlazeComponent
=>Space.ui.BlazeComponent
Space.flux.defineEvents
=>Space.ui.Reactive
Space.flux.Stateful
=>Space.ui.Stateful
Space.flux.defineEvents
=>Space.ui.defineEvents
Space.flux.getEventTarget
=>Space.ui.getEventTarget
See the space:ui changelog for full details
- Fixes link to Travis
BREAKING CHANGES: See upgrade guide for full details
- Reactive data sources now just need to be defined as methods on
Space.flux.Store
, with non-reactive sources added to either the newreactiveVars
array, or thesessionVars
array. This change was motivated to simplify the component's interface, but it also improves the clarity of reactive state management in the store.
NON-BREAKING CHANGES:
Space.flux.Store
instances now have aneventSubscriptions
property to define the event subscribers