MIT License

项目介绍

preactjs/signals 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 4.5k 个 Star、132 次 Fork。

仓库全名
preactjs/signals
开源许可证
MIT License
Star 数
4.5k
Fork 数
132
未关闭 Issue
48

README 摘要

Signals Signals is a performant state management library with two primary goals: 1. Make it as easy as possible to write business logic for small up to complex apps. No matter how complex your logic is, your app updates should stay fast without you needing to think about it. Signals automatically optimize state updates behind the scenes to trigger the fewest updates necessary. They are lazy by default and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

signals 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 4.5k 个 Star。

signals 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 signals 的源码?

可以直接克隆仓库:git clone https://github.com/preactjs/signals.git;安装与运行步骤见仓库 README。

signals 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 48 个未关闭 Issue;Star 数为 4.5k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Manage state with style in every framework

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
4794
价值分
2742
活跃状态
活跃

语言占比

CSS
Dockerfile
HTML
JavaScript
Shell
TypeScript

README

Signals

Signals is a performant state management library with two primary goals:

  1. Make it as easy as possible to write business logic for small up to complex apps. No matter how complex your logic is, your app updates should stay fast without you needing to think about it. Signals automatically optimize state updates behind the scenes to trigger the fewest updates necessary. They are lazy by default and automatically skip signals that no one listens to.
  2. Integrate into frameworks as if they were native built-in primitives. You don’t need any selectors, wrapper functions, or anything else. Signals can be accessed directly and your component will automatically re-render when the signal’s value changes.

Read the announcement post to learn more about which problems signals solves and how it came to be.

License

MIT, see the LICENSE file.

评论

暂无评论