oref 2.0.0-dev.1
oref: ^2.0.0-dev.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.
2.0.0-dev.1 #
Complete reconstruction
1.1.3 #
- pref: Refactor binding system to use LinkedBindingNode hierarchy
1.1.2 #
- Not returning use* hooks as expected
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
createGlobalAsyncComputed
anduseAsyncComputed
- feat:
createGlobalSignal
supports automatic trigger of Widget - feat:
createGlobalComputed
supports automatic trigger of Widget - feat: Added
createGlobalAsyncResult
anduseAsyncResult
to 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
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