avoiding-subcomposition-pitfalls

SKILLWorkflowcommunity
v0.0.0skydovesApache-2.0Updated 2mo agoSource →

Use this skill when a Compose tree uses SubcomposeLayout, BoxWithConstraints, or Scaffold and the developer reports extra measure passes, slow first frame, or layout passes running content composition repeatedly. Covers why SubcomposeLayout composes its slots during the measure phase, why BoxWithCon

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
480Repo stars
1Clients
1Formats
2mo agoLast update
Skill
Authorskydoves
Version0.0.0
LicenseApache-2.0
CategoryWorkflow
Formatsskill.md
PromptNot published
Compatibility
Claude✓ Supported
Cursor
Copilot
ChatGPT
Gemini
About

Use this skill when a Compose tree uses SubcomposeLayout, BoxWithConstraints, or Scaffold and the developer reports extra measure passes, slow first frame, or layout passes running content composition repeatedly. Covers why SubcomposeLayout composes its slots during the measure phase, why BoxWithConstraints forces a subcomposition for every new Constraints value, why nesting Scaffold or BoxWithCon

Keywords
skillclaude