If a parent compose collect a `Flow` from `ViewMod...
# compose
z
If a parent compose collect a
Flow
from
ViewModel
as
state
and it’s multiple children also collect the same flow as state then would it hamper the performance? I have TextFields in different layer. So passing state would make the code messy. Thats why wanted to collect the same flow from multiple Composables.
z
The best thing to do, as always with questions of performance, is write the code that is most expressive, readable, and maintainable, and then if you suspect there are performance issues, measure/profile and optimize based on that.
z
@Zach Klippenstein (he/him) [MOD] thanks. i will try that.