Getting Started
xoid is a scalable state management library with a small API surface. While learning it takes ~5 minutes, you can still manage great complexity with it.
Installation
The xoid package lives in npm. To install, you can run one of the the following commands:
- npm
- yarn
- deno
npm install xoid
yarn add xoid
import { atom } from 'https://unpkg.com/xoid/index.js'
If you're using xoid with one of these frameworks, simply install one of the following packages:
- React
- Vue
- Svelte
yarn add @xoid/react
yarn add @xoid/vue
yarn add @xoid/svelte
Resources
- If you're new to xoid, we recommend starting with the quick tutorial in the next section.
- In Examples section, you'll find examples to run on Codesandbox.
- You can refer to Recipes section for more.