How can I make some kind of "diff" between previou...
# compose
b
How can I make some kind of "diff" between previous and current state? I would like for example, when the state changed, to clear a TextField and give it focus.
t
LaunchedEffect
using the object you want to observe the changes as the
key
?
z
Recomposition is unnecessary just to do the diff. You can use snapshotFlow and scan