robius-state-management
CommunityMaster Robius state patterns for robust apps.
Software Engineering#persistence#state-management#serde#Makepad#AppState#Scope::with_data#central-store
AuthorRoooyHe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides best practices for managing and persisting application state in Makepad-based apps, using Robrix and Moly patterns to keep UI state coherent across sessions and components.
Core Features & Use Cases
- State architecture design for Makepad apps (AppState, SelectedRoom, per-item state)
- Persistent state handling with serde-based serialization
- Scope-based data propagation to share UI state across widgets
- Central Store pattern inspiration for large apps
- Real-world use: maintain selected room, layout state, and preferences across restarts.
Quick Start
To start, implement an AppState struct with fields for selected_room, saved_layout_state, and saved_state_per_item, then attach AppState to the UI via Scope::with_data, and use provided patterns from _base directory to implement persistence and theming.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: robius-state-management Download link: https://github.com/RoooyHe/betula/archive/main.zip#robius-state-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.