Overview:
“Xoid” is a framework-agnostic state management library designed to unify global state, local component state, finite state machines, and observable streams in the same API. With a small size (~1kB gzipped) and a focus on easy learning, Xoid aims to simplify the state management process, particularly for React users who often have to navigate different APIs for local and global state management.
Features:
- Framework-Agnostic: Works across multiple frameworks without requiring specific configurations.
- Tiny Size: Approximately 1kB gzipped for fast loading times.
- Unified State Management: Allows managing global state, local component state, finite state machines, and observable streams within the same API.
- Explicit Subscriptions: Utilizes explicit subscriptions for improved clarity and control.
- Immutable Updates: Based on immutable updates to ensure data integrity.
- First-Class TypeScript Support: Ideal for teams looking for strong typing and robust support.
- Isomorphic Component Logic: Unique feature enabling component logic to run across multiple frameworks seamlessly.
Installation:
To install Xoid, run the following command:
npm install xoid
Summary:
Xoid is a comprehensive state management library that prioritizes seamless integration, small size, and a unified approach to managing different types of states. With features like explicit subscriptions, immutable updates, and isomorphic component logic, Xoid offers a robust solution for developers looking to streamline their state management process across various frameworks.