Compose works by transforming all Kotlin functions that are annotated with @Composable. To do that it uses a Kotlin Compiler Plugin.
Where can i find the source code¶
- Leland Richardson(@intelligibabble) started a series about the Compose Compiler https://www.youtube.com/watch?v=bg0R9-AUXQM
- Under the hood of Jetpack Compose — part 2 of 2
Last update: September 21, 2020