This message was deleted.
# compose
s
This message was deleted.
s
Groups are essentially a control flow tree, nodes represent a resulting tree of UI elements. Group is not nested in a LayoutNode, it is node that is put inside a group
s
Maybe because there is no other book about this at all?
s
Yeah, it is very hand-wavey If you are familiar with React, you can think about composition groups as React component tree and layout nodes as the resulting dom tree. Composition groups are storing the data that is specific to composition only, the layout nodes are used by external systems like layout and rendering
We create a node straight away, the tree is assembled after in the
applyChanges
phase
It is to do with making sure updates are handled correctly etc
s
You’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