Awesome
Signals.dart
<a href="https://idx.google.com/import?url=https://github.com/rodydavis/signals.dart"> <img height="32" alt="Try in IDX" src="https://cdn.idx.dev/btn/try_dark_32.svg"> </a>Features
- 🪡 Fine grained reactivity: Based on Preact Signals and provides a fine grained reactivity system that will automatically track dependencies and free them when no longer needed
- ⛓️ Lazy evaluation: Signals are lazy and will only compute values when read. If a signal is not read, it will not be computed
- 🗜️ Flexible API: Every app is different and signals can be composed in multiple ways. There are a few rules to follow but the API surface is small
- 🔬 Surgical Rendering: Widgets can be rebuilt surgically, only marking dirty the parts of the Widget tree that need to be updated and if mounted
- 💙 100% Dart Native: Supports Dart JS (HTML), Shelf Server, CLI (and Native), VM, Flutter (Web, Mobile and Desktop). Signals can be used in any Dart project
To start using signals, check out the full documentation.
VS Code Extension: https://marketplace.visualstudio.com/items?itemName=rodydavis.signals-dart
Packages
Package | Pub |
---|---|
signals | |
signals_core | |
signals_flutter | |
signals_lint | |
signals_devtools_extension |