What problem does it solve?
This Skill eliminates the need to build custom state adapters for teams that already use @xstate/store for state management in their json-render generative UI projects, bridging the gap between XState's state logic and json-render's rendering pipeline.
Core Features & Use Cases
- Drop-in XState Adapter: Provides a pre-built, type-safe StateStore implementation that natively supports @xstate/store atoms, requiring no custom synchronization code.
- Cross-Platform Compatibility: Works with all json-render supported platforms including React, React Native, and terminal UIs that use XState for state management.
- Use Case: If your team already uses XState to manage complex UI state like filter selections, authentication status, or pagination for a json-render powered dashboard, this adapter lets you plug your existing XState atom directly into json-render's StateProvider.
Quick Start
Use the xstate skill to connect your existing @xstate/store atom to json-render's StateProvider to manage state for your generative UI components without writing custom adapter code.