Installation
Package Manager
bash
pnpm add @growae/reactivebash
npm install @growae/reactivebash
yarn add @growae/reactiveRequirements
- TypeScript 5.0+ (strict mode recommended)
- Node.js 18+
Peer Dependencies
@growae/reactive depends on the Aeternity SDK under the hood. It is bundled with the package — you do not need to install @aeternity/aepp-sdk separately.
Framework Packages
If you are using a framework, install the corresponding package instead. Each framework package re-exports everything from @growae/reactive:
| Framework | Package | Extra Dependencies |
|---|---|---|
| React | @growae/reactive-react | @tanstack/react-query |
| Vue | @growae/reactive-vue | @tanstack/vue-query |
| Solid | @growae/reactive-solid | @tanstack/solid-query |
TypeScript Configuration
Reactive requires strict TypeScript settings. Ensure your tsconfig.json includes:
json
{
"compilerOptions": {
"strict": true,
"moduleResolution": "bundler"
}
}