Hi, I started reading the ‘Foundation’ articles and I’m having some difficulties in understanding how things build up from source code to runtime execution. Specifically, consider the following quotes:
“In Compose's declarative approach, widgets are relatively stateless and do not expose setter or getter functions. In fact, ***widgets are not exposed as objects.***”
“Composition: a description of the UI built by Jetpack Compose when it executes composables.”
“remember (composable) stores objects in the Composition, and forgets the object when the ***composable*** that called remember is removed from the Composition.”
What exactly does the Compose compiler produce when parsing a @Composable annotated function ? Does it generate a class for each function that gets instantiated at runtime as node in the UI object tree ?