Yousef
06/05/2025, 10:34 PMArjan van Wieringen
06/06/2025, 6:07 AMRobert Jaros
06/06/2025, 7:39 AMRobert Jaros
06/06/2025, 7:51 AM@Composable
annotation? How it is processed? At runtime? Is it at all? I have removed @Composable
annotation from my code and nothing has changed.Yousef
06/06/2025, 9:00 AMYousef
06/06/2025, 9:38 AMComposable
interface with a compose()
method. I did significant refactoring to move from that interface-based approach to the annotation-based one, which allows cleaner code - now @Composable functions can directly access the composition context (like LocalPlatformRenderer.current
) without needing to implement an interface.
While the annotation itself doesn't enforce anything at compile/runtime like Jetpack Compose does, it enables this cleaner architecture and maintains a 1-1 API with Jetpack Compose.
Thanks for pointing these out! I should definitely work on the automatic re-rendering next - that's a pretty fundamental feature that's missing.Robert Jaros
06/06/2025, 10:37 AMYousef
06/06/2025, 11:43 AM