compose-state-holder-ui-split

Community

Make Compose screens previewable and testable.

Authorsoygabimoreno
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of Compose screens becoming tightly coupled to ViewModels, navigation, and side effects, making them hard to preview and test.

Core Features & Use Cases

  • State-holder vs UI split: Keep wiring and state/effect collection in a dedicated composable, while layout lives in a plain UI composable.
  • Preview-friendly UI: Build a UI layer that only depends on immutable UI state and callback lambdas.
  • Cleaner testing strategy: Test layout branches by supplying plain state and callbacks instead of constructing the full app graph.

Quick Start

Create a small state-holder composable that collects state/effects from your component or ViewModel, then pass plain ui state and event callbacks into a separate UI composable that renders the screen layout.

Dependency Matrix

Required Modules

None required

Components

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: compose-state-holder-ui-split
Download link: https://github.com/soygabimoreno/Los-ANDROIDES/archive/main.zip#compose-state-holder-ui-split

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.