preactjs/signals
Manage state with style in every framework
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#2 Repository of the week
Signals
Signals is a performant state management library with two primary goals:
- 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.
- 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.
Similar Projects
Discover other similar projects and AI models.
LiveStore is a next-generation state management framework based on reactive SQLite and built-in sync engine.
The lightweight, schema-first, and fully type-safe form library for React, Solid, Vue, Svelte and more.
An interactive playground and introduction to learning Angular Signals (computed, effect, linkedSignal, resource) hands-on.
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
⚡️ A small demo site to explain some of the cool things Signals-based reactivity does in Angular