orbital_state 0.3.0
orbital_state: ^0.3.0 copied to clipboard
Reactive state mixin and UI helpers for Orbital lifecycle objects.
0.3.0 #
listenon an already-disposed owner returns a cancelled handle instead of attaching a live subscription- make
onDisposeidempotent so the notifier is disposed exactly once - defer notifier teardown when the subject is disposed from inside one of its own listeners during a notification round
0.2.2 #
- guard
emit,watchandlistenagainst calls made after the owning object has been disposed, fixing aValueNotifier"used after being disposed" crash triggered by an in-flight async operation (e.g. a fetch resolving after the page was popped)
0.2.1 #
- minor internal cleanup; no functional changes
- depend on
orbital_core^0.2.1 andorbital_injector^0.2.1 (dev)
0.2.0 #
- initial release:
StateMixin<T>reactive state mixin forOrbitalLifecycleobjects, withemit,watchandlisten - automatic listener cleanup on owner disposal via
addDisposer - dispose the underlying
ValueNotifierfromonDispose