RS 

rodydavis/signals.dart 是从 https://github.com/rodydavis/signals.dart. 导入的 Agent Skill 候选人
概览
rodydavis/signals.dart 是从 https://github.com/rodydavis/signals.dart. 导入的 Agent Skill 候选人
概述(AI 翻译)
试试和CodeWiki聊天吧!
特色
- 🪡 细粒度反应性:基于Preact信号,提供细粒度反应系统,自动追踪依赖并在不再需要时释放它们
- ⛓️ 懒惰评估:信号是懒惰的,只有在读取时才会计算值。如果信号未被读取,就不会被计算
- 🗜️ 灵活的API:每个应用都不同,信号可以用多种方式组合。需要遵循一些规则,但API表面积较小
- 🔬 外科手术渲染:小部件可以通过手术重建,只标记需要更新和安装的控件树部分为脏
- 💙 100% Dart 原生:支持 Dart JS(HTML)、Shelf Server、CLI(及原生)、虚拟机、Flutter(网页、移动和桌面)。信号可用于任何 Dart 项目
要开始使用信号,请查看完整文档。
VS 代码扩展:https://marketplace.visualstudio.com/items?itemName=rodydavis.signals-dart
包裹
| 包裹 | 出版 |
|---|
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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_core |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add rodydavis/signals.dart