Slackbot
03/09/2026, 9:12 AMChuck Jazdzewski [G]
03/26/2026, 11:49 PMUnit returning @Compsoable is but you can make a function non-restartable explicitly with an @NonRestartableCompposable annotation. This is useful for wrappers that don't themselves, read state.Chuck Jazdzewski [G]
03/27/2026, 7:07 PMChuck Jazdzewski [G]
04/28/2026, 8:11 PMComposer is also an input parameter as that is where `CompositionLocal`s come in, for example.
3. Composable lambdas are also recompose scopes. It is technically captured by "all functions" but most people don't think of lambdas that way so I always call it out explicitly.
4. The Composition holds the state of the composition. It is not written to directly but contains the slot table which is. What you wrote is not technically incorrect but I would have phrased this differently.
5. Composition observes reads in recompose scopes and changes to the values read regardless of where the change occurs. While composition observes writes in composition, this is a part of observing changes in general.Chuck Jazdzewski [G]
05/27/2026, 3:14 PM@Compsoable functions are transforms function that transform the data to a tree and listen for changes in that data to make corresponding changes to the tree. For Compose UI, that tree is LayoutNodes.