Installation
To install Alette Signal, run the following command in your terminal:
sh
pnpm add @alette/signal@latest
sh
npm install @alette/signal@latest
sh
yarn add @alette/signal@latest
INFO
Requirements:
- TypeScript 5.4 or newer.
- Environment supporting structuredClone. WebWorkers support
structuredClone()
out of the box, while a polyfill is needed for old browsers.
Recommendations:
- Use Biome instead of Eslint for linting and formatting due to speed.
Usage with UI frameworks
To use Alette Signal with UI frameworks, refer to the framework integration guides:
Usage with state managers
To use Alette Signal with a state manager, refer to the state manager integration guides: