Is there specific guidance about not using expression bodies for Composable functions that emit UI nodes? I thought that there was, but I can't find it in Google's API guidelines.
s
shikasd
03/01/2026, 1:06 PM
It is more of a readability concern, I think some style guides force you to use block syntax for everything returning unit
shikasd
03/01/2026, 1:07 PM
Don't think we have that internally, I saw a lot of Unit returning functions with expression syntax
e
eygraber
03/01/2026, 1:11 PM
I don't have a problem with them in general, but with Compose I think it gives the wrong impression, e.g.