Installation
Atomix is split into two packages:
atomix-core
– the core state management engine (framework-agnostic)atomix-react
– optional bindings for seamless React integration
📦 Install with npm
bash
npm install atomix-core atomix-react
📦 Install with yarn
bash
yarn install atomix-core atomix-react
🔍 Package Overview
Package | Description |
---|---|
atomix-core | Core atom and state engine. Works anywhere. |
atomix-react | React bindings built on useSyncExternalStore . |
You can use atomix-core on its own if you're not using React.
✅ Requirements
React 18+ (only for atomix-react)
Node.js 14+ (recommended)
TypeScript (optional but fully supported)