signals 1.5.1 signals: ^1.5.1 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.1 #
- Adding
isCompleted
andfuture
toAsyncSignal
to async methods to wait for a signal to complete
1.5.0 #
- Adding
AsyncSignal
with helpersasyncSignalFromFuture
andasyncSignalFromStream
- Adding async example
- Adding
previousValue
to signal - Adding
reloading
state toFutureSignal
andStreamSignal
- Deprecating
FutureSignal
andStreamSignal
in favor ofAsyncSignal
- Moving
forceUpdate
toValueSignal
1.4.2 #
- Adding
Timer
to emitTimerEvent
- Adding
initial
toStreamSignal
to skip loading state and avoid emit null value
1.4.1 #
- Adding
sorted
toListSignal
that returns new list with sorted values (does not mutate original list)
1.4.0 #
- Deprecating
MutableSignal
in favor ofSignal
(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
tofrom
inconnect
1.3.4 #
- Adding inject
<<
,&
fork and|
pipe operators on collections
1.3.3 #
- Adding
requireValue
toFutureSignal
andStreamSignal
which return the value (non null) or throw an error - Switching
Exception
toError
1.3.2 #
- Adding
connect
to make it easier to connect a signal to a set of streams
1.3.1 #
FutureSignal
now implementsReadonlySignal
instead ofSignal
StreamSignal
now implementsReadonlySignal
instead ofSignal
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
andStreamSignal
in watch - Adding
Watch
andSignalWidget
1.2.1 #
- Fixing
computed
andsignal
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
frompreact_signals
andflutter_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