If I have a `Recipe` compose to show `Recipe` data...
# compose
s
If I have a
Recipe
compose to show
Recipe
data. Is it good to use the same name on both compose fun and data class?
k
You can use
RecipeItem
for compose function.
p
Or RecipeRow, RecipeCard, whatever applies
s
So it is not recommended to use same name?
k
I don't think it says anywhere to not use it, but looking at other people code you can see what's common convention. You can use it.
👍 1