deferring-state-reads

Installation
SKILL.md

Deferring State Reads — Move Hot Reads from Composition to Draw

Compose runs three phases per frame — Composition → Layout → Draw. A state read at phase N invalidates phase N and every phase below it. The single biggest perf win in any animation- or scroll-driven UI is moving a state read from Composition down to Layout or Draw via a lambda-based modifier. This skill teaches Claude how to spot the wrong-phase read and migrate it.

When to use this skill

Installs
1
GitHub Stars
8
First Seen
Sep 4, 2026
deferring-state-reads — decoutkhanqindev/dexreader