Sekoia icon indicating copy to clipboard operation
Sekoia copied to clipboard

Computed Properties don't dispatch "data" event

Open monokee opened this issue 4 years ago • 2 comments
trafficstars

Custom "data" event is currently dispatched in calls to Component.setData(). This means that computations don't fire the event when their value changes.

Proposed solution: Fire "data" events from within Reactor in the cue loop. This should simplify the event dispatching because we no longer have to distinguish between normal properties, store-bound properties and computed properties.

monokee avatar Aug 22 '21 16:08 monokee

fixed since 1.1

monokee avatar Oct 18 '21 11:10 monokee

Components no longer dispatch "data" events. State changes of nested reactive data structures automatically bubble to their ancestors and can be listened to via Component.state.observe()

monokee avatar Mar 07 '22 18:03 monokee