React Alien Signals is a TypeScript library that integrates Alien Signals with React,
providing concurrency-safe reactive state management using hooks. It offers writable signals,
computed signals, and reactive effects that seamlessly update React components without tearing.
Features
Create and update writable signals with [createSignal].
Compute derived state with [createComputed].
Run reactive side-effects with [createEffect].
Manage effect lifecycles using [createSignalScope].
React hooks for subscribing to signal updates: [useSignal], [useSignalValue], [useSetSignal],
[useSignalEffect] and [useSignalScope].
Additional hooks like [useComputed] for easier use of computed signals.
Note: This library is built on top of Alien Signals
and uses React's useSyncExternalStore for concurrency-safe re-renders.
React Alien Signals
React Alien Signals is a TypeScript library that integrates Alien Signals with React, providing concurrency-safe reactive state management using hooks. It offers writable signals, computed signals, and reactive effects that seamlessly update React components without tearing.
Features