Preact Signals는 Preact.js Signals 라이브러리의 Dart 버전으로, Flutter 애플리케이션을 위한 가볍고 반응형 상태 관리 솔루션을 제공합니다. 값이 변경될 때 자동으로 종속성을 추적하고 업데이트를 트리거하는 신호를 통해 세밀한 반응성을 가능하게 합니다. 간단함과 성능을 중시하여 봐일러플레이트 없이 Flutter 프로젝트에 원활하게 통합되어 상태를 관리할 수 있습니다. 웹, 모바일, 데스크톱을 포함한 모든 주요 플랫폼을 지원하며, 크로스플랫폼 개발에 이상적입니다. 실제 데이터 변경 기반의 예측 가능한 재렌더링과 최소한의 오버헤드를 강조합니다.
🪡 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
To enable AI coding assistants (like Google Antigravity, Gemini, Claude, Cursor, GitHub Copilot, and others) to build high-quality reactive systems with signals.dart, this repository includes prepackaged, high-fidelity developer Skills.
These skills are located under the ./skills directory and are fully modular:
signals-preact-dart: Deep knowledge and best practices for core reactive primitives (signal, computed, effect, batch, untracked).
signals-dart: Best practices for async signal operations (FutureSignal, StreamSignal), reactive collections, writable computed signals (linkedSignal), and value semantics.
signals-flutter: Comprehensive guides on element-level reactive UI integration, high-frequency GPU rendering bypasses, lifecycle side-effects, and .watch(context) extensions.
signals-migration-6-to-7: Detailed instructions, patterns, and refactoring techniques to safely upgrade applications from signals v6.x to v7.0.0.
How to use them:
1. One-Command Installation via skills.sh
You can instantly install all available signals skills into your global AI environment using the unified skills.sh registry CLI:
npx skills add rodydavis/signals.dart
2. Manual Reference
Simply reference the path to the desired skill directory in your AI prompt, or load the contents of the relevant SKILL.md files as context for your AI coding assistant.