an_reactive_state 1.2.1
an_reactive_state: ^1.2.1 copied to clipboard
A high-performance synchronous reactive graph engine for Dart. Features lazy evaluation, async isolation via Zones, and absolute memory safety with Cancellable.
1.2.1 #
- API: Added
makeLiveCancellable()to_Observableand its implementations (BaseState,_EffectInstance) for customCancellablebinding with weak reference support. - Internal: Refactored
disposableproperty to delegate tomakeLiveCancellable(weakRef: false).
1.2.0 #
- API: Made
cancellableparameter optional inBaseState,RState, andComputedState.
Breaking Change #
- Changed
effect()second argumentcancellablefrom positional required to named optional (effect(action, {cancellable})).
1.1.0 #
- Architecture: Refactored
RStateto inherit fromComputedStatefor unified reactive logic. - Features: Added
mutate(),refresh(), and comprehensive extensions fornum,bool, and collections (List,Set,Map). - Stability: Improved nullable type support and optimized the batch notification engine.
- API: Added
Cancellablesupport toaddListenerand implemented collection index operators ([],[]=).
1.0.0 #
- First version release