09
Moving, reusing, and nesting composition
Trace movable identity, reusable nodes, nested composition ownership, and SubcomposeLayout slot reuse without treating them as interchangeable.
- Movable content carries identity across locationsTrace how movableContentOf extracts remembered state, nodes, and invalidations, then inserts them at a new call site.4 min →
- Reusable composition changes the node lifecycleDistinguish node recycling from movable identity and follow reuse, deactivation, and release callbacks.4 min →
- CompositionContext makes nesting one logical treeFollow SubcomposeLayout from its parent context to child compositions created during measure.4 min →
- SubcomposeLayout turns slots into a reuse poolRead the active, reusable, and precomposed child ranges, then follow paused precomposition as a handle workflow.4 min →