min
05/19/2026, 12:35 PMLayoutNode achieve? A @Composable already emits a group. Why can’t the group just be written to the composition? Why does it have to be nested in a LayoutNode?shikasd
05/19/2026, 5:49 PMmin
05/20/2026, 10:11 AMLayoutNode instances are added to the composition. That process includes a call to content: @Composable () -> Unit sandwiched between currentComposer.{start, end}ReplaceableGroup. So its groups are nested in the replaceable group, are they not?min
05/20/2026, 10:12 AMStylianos Gakis
05/20/2026, 11:02 AMmin
05/20/2026, 11:21 AMshikasd
05/20/2026, 11:28 AMmin
05/20/2026, 11:44 AMComposition is like a virtual DOM that the actual DOM is updated to match. But I thought materialising a tree from a Composition was supposed to happen after updating the slot table for example? Why is it happening in the middle of a @Composable call?shikasd
05/20/2026, 11:57 AMapplyChanges phaseshikasd
05/20/2026, 11:58 AMStylianos Gakis
05/20/2026, 12:17 PMYou’d be surprised by how many drive-by links to the book I get when I ask questions about the internals as if I’d have known the answers to all my questions had I only read the book and I’m just lazy for expecting somebody to give me the answers here.I didn't say that. I just meant that if you were not referred to the book then you'd likely be referred to nothing. Or to Andrei's brain directly, but the technology isn't there yet