Appearance
Installation
To install Alette Signal, run the following command in your terminal:
sh
pnpm add @alette/signal@latestsh
npm install @alette/signal@latestsh
yarn add @alette/signal@latestINFO
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: