패키지, 저장소 및 앱 카테고리 검색

패키지 상세v7.1.0

signals_flutter

신호 라이브러리는 생각할 수 있는 모든 비즈니스 로직을 모델링하기 위한 핵심 기능 네 가지를 노출합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
3.7만
좋아요
93
Pub 점수
150

패키지 설치

flutter pub add signals_flutter

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Signals Flutter는 복잡한 비즈니스 로직을 모델링하기 위해 네 가지 핵심 기능을 제공하는 경량 상태 관리 솔루션입니다. 개발자가 데이터 스트림의 변화를 효율적으로 생성하고 관찰하며 반응할 수 있도록 하여 반응형 프로그래밍을 가능하게 합니다. Dart의 반응형 원칙 위에 구축되어 있으며, 깔끔하고 조합 가능하며 테스트 가능한 코드를 촉진합니다. 단순성과 성능을 고려하여 설계되어, 여러 플랫폼에서 상태 업데이트에 대한 세밀한 제어가 필요한 애플리케이션에 적합합니다.

사용 사례

  • 실시간 데이터 동기화
  • 복잡한 폼 상태 관리
  • 위젯 간 상태 공유
  • 이벤트 기반의 UI 업데이트
  • 상태에 기반한 동적 UI 렌더링
  • 반응형 비즈니스 로직 모델링

주요 기능

  • 핵심 반응형 함수 네 가지
  • 경량이고 최소한의 API
  • 매우 조합 가능
  • Platform-agnostic
  • 내장된 종속성 주입 지원
  • 효율적인 변경 전파

적합한 대상

  • 최소 상태 관리 오버헤드를 원하는 개발자
  • 세밀한 상태 제어가 필요한 프로젝트
  • 반응형 프로그래밍 패턴을 사용하는 팀
  • 다중 플랫폼 대상 애플리케이션
  • 반응형 로직을 사용한 프로토타이핑 또는 확장 가능한 앱 개발

고려 사항

  • 반응형 프로그래밍 개념에 대한 이해가 필요합니다
  • 제한된 내장 디버깅 도구
  • 매우 간단한 상태 요구 사항에는 권장하지 않습니다
  • 신규 사용자를 위한 신호 패러다임 학습 곡선
  • 대규모 상태 구조의 경우 추가적인 보일러플레이트가 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Tests Website GitHub stars Coverage GitHub issues GitHub pull-requests melos

Signals.dart

Try chat with CodeWiki!

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
signals_core signals_core
signals_flutter signals_flutter
signals_lint signals_lint
signals_hooks signals_hooks
preact_signals signals_lint
signals_devtools_extension

AI Developer Skills

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.

Contributors

카테고리

의존성

의존성 목록 1 개

  • signals_core^7.0.0

소스 저장소

이 패키지를 사용하는 프로젝트