oref 1.1.1
oref: ^1.1.1 copied to clipboard
A reactive state management library for Flutter that adds magic to any Widget with signals, computed values, and effects powered by alien_signals.
1.1.1 #
- fix: Nested hooks cause context binding to be reset
1.1.0 #
- refactor: refactor core code to make it easier to maintain and less redundant
- refactor: Remove
createGlobalAsyncComputedanduseAsyncComputed - feat:
createGlobalSignalsupports automatic trigger of Widget - feat:
createGlobalComputedsupports automatic trigger of Widget - feat: Added
createGlobalAsyncResultanduseAsyncResultto replacecreateGlobalAsyncComputed/useAsyncComputed
1.0.0 #
Added #
- Initial release of Oref - A reactive state management library for Flutter
- Core reactive primitives:
useSignal- Create reactive signals with automatic dependency trackinguseComputed- Create computed values that update when dependencies changeuseEffect- Create side effects that run when dependencies changeuseEffectScope- Create effect scopes for managing multiple effectsref- Convert non-reactive Widget parameters to reactive signals
- Global APIs for use outside of widgets:
createGlobalSignal- Create global signalscreateGlobalComputed- Create global computed valuescreateGlobalEffect- Create global effectscreateGlobalEffectScope- Create global effect scopescreateGlobalAsyncComputed- Create global async computed values
- Async computed values with
useAsyncComputed - Batching utilities with
batchfunction untrackutility for reading signals without creating dependencies- Built-in type signal operators for enhanced type safety
- Automatic Widget rebuilding integration
- Performance optimizations with alien_signals backend
Features #
- π High performance reactive system built on alien_signals
- πͺ Magic in widgets - add reactivity to any existing Widget seamlessly
- π Automatic dependency tracking and updates
- π― Full type safety with Dart's strong type system
- π§ Flexible integration with any Flutter widget
- π¦ Lightweight with minimal overhead
Dependencies #
- Flutter SDK ^3.8.1
- alien_signals ^0.4.2