oref 1.0.0 copy "oref: ^1.0.0" to clipboard
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 tracking
    • useComputed - Create computed values that update when dependencies change
    • useEffect - Create side effects that run when dependencies change
    • useEffectScope - Create effect scopes for managing multiple effects
    • ref - Convert non-reactive Widget parameters to reactive signals
  • Global APIs for use outside of widgets:
    • createGlobalSignal - Create global signals
    • createGlobalComputed - Create global computed values
    • createGlobalEffect - Create global effects
    • createGlobalEffectScope - Create global effect scopes
    • createGlobalAsyncComputed - 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
9
likes
0
points
1.16k
downloads

Publisher

verified publishermedz.dev

Weekly Downloads

A reactive state management library for Flutter that adds magic to any Widget with signals, computed values, and effects powered by alien_signals.

Repository (GitHub)
View/report issues

Topics

#signal #reactive #state

Funding

Consider supporting this project:

github.com
opencollective.com

License

unknown (license)

Dependencies

alien_signals, flutter

More

Packages that depend on oref