compose-side-effects

Community

Run Compose side effects with correct lifecycles.

Authorsoygabimoreno
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you write Jetpack Compose code that triggers imperative work (events, subscriptions, navigation, analytics, focus actions) at the right time without causing extra work, stale callbacks, or bugs from incorrect effect keying.

Core Features & Use Cases

  • Correct effect selection: Use SideEffect, DisposableEffect, LaunchedEffect, rememberCoroutineScope, rememberUpdatedState, and snapshotFlow for the appropriate lifecycle and work type.
  • Lifecycle-accurate keys: Choose keys that represent when the work should restart, preventing LaunchedEffect(Unit) capture bugs and collection restarts at unintended times.
  • Stale capture prevention: Keep long-running effects stable while still calling the latest callbacks through rememberUpdatedState.

Quick Start

Use the compose-side-effects skill to audit your screen’s event Flow collection, focus/analytics triggers, and listener registration so each effect uses the smallest appropriate API and stable, semantic keys.

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

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.