Raed Ghazal
01/18/2024, 11:40 AMFlow operator functions should not be invoked within composition
e.g.
MyComposable(
flow = viewModel.flow.map { it + it }
)
the error shows on map
what the better approach here?Raed Ghazal
01/18/2024, 11:41 AMval x = remember { viewModel.flow.map { it + it } }
the right way?Zach Klippenstein (he/him) [MOD]
01/19/2024, 10:14 PMremember(viewModel) { … }
, but yea