reactjs-signal

Share Store State with the Signal Pattern

A lightweight, performant state management library for React built on top of Alien Signals

Lightning Fast

Built on Alien Signals for optimal performance with minimal overhead

🎯

Simple API

Intuitive hooks-based API that feels natural to React developers

📦

Tiny Bundle

Minimal bundle size impact - keep your apps lightweight

Quick Example

import { createSignal, useSignal } from 'reactjs-signal';

const countSignal = createSignal(0);

function Counter() {
  const [count, setCount] = useSignal(countSignal);

  return (
    <button onClick={() => setCount(count + 1)}>
      Count: {count}
    </button>
  );
}
npm install reactjs-signal