signals 1.5.0 copy "signals: ^1.5.0" to clipboard
signals: ^1.5.0 copied to clipboard

Reactivity made simple. Do more by doing less. Supports Flutter and any Dart project including HTML/JS, CLI, Shelf Server, VM and more.

1.5.0 #

  • Adding AsyncSignal with helpers asyncSignalFromFuture and asyncSignalFromStream
  • Adding async example
  • Adding previousValue to signal
  • Adding reloading state to FutureSignal and StreamSignal
  • Deprecating FutureSignal and StreamSignal in favor of AsyncSignal
  • Moving forceUpdate to ValueSignal

1.4.2 #

  • Adding Timer to emit TimerEvent
  • Adding initial to StreamSignal to skip loading state and avoid emit null value

1.4.1 #

  • Adding sorted to ListSignal that returns new list with sorted values (does not mutate original list)

1.4.0 #

  • Deprecating MutableSignal in favor of Signal (abstract class)
  • Adding ValueSignal that can be used in a class and extended (similar to ValueNotifier)
  • Exposing all classes for value signal and future/stream (for lint issues)
  • Rename to to from in connect

1.3.4 #

  • Adding inject <<, & fork and | pipe operators on collections

1.3.3 #

  • Adding requireValue to FutureSignal and StreamSignal which return the value (non null) or throw an error
  • Switching Exception to Error

1.3.2 #

  • Adding connect to make it easier to connect a signal to a set of streams

1.3.1 #

  • FutureSignal now implements ReadonlySignal instead of Signal
  • StreamSignal now implements ReadonlySignal instead of Signal

1.3.0 #

  • Removing SignalWidget since it will cause unnecessary rebuilds if used at the root and too easy to use incorrectly

1.2.2 #

  • Fixing FutureSignal and StreamSignal in watch
  • Adding Watch and SignalWidget

1.2.1 #

  • Fixing computed and signal to work the same in debug mode as in release mode
  • Passing through debugLabel to all methods

1.2.0 #

  • Fixing public API and removing public classes (Computed, Effect, StreamSignal, etc.)

1.1.1 #

  • Migrated to single package signals from preact_signals and flutter_preact_signals

1.1.0 #

  • Updating preact_signals to 0.4.1
  • Updating flutter_preact_signals to 0.4.1

1.0.1 #

  • Updating preact_signals to 0.3.3

1.0.0 #

  • Updating preact_signals to 0.3.2
  • Updating flutter_preact_signals to 0.3.2
432
likes
0
pub points
93%
popularity

Publisher

verified publisherrodydavis.com

Reactivity made simple. Do more by doing less. Supports Flutter and any Dart project including HTML/JS, CLI, Shelf Server, VM and more.

Homepage
Repository (GitHub)
View/report issues

Topics

#signal #reactive #state #signals #rx

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on signals