oref 1.0.0
oref: ^1.0.0 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.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
batch
function untrack
utility 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