My ViewModel has mutable state for a query and ass...
# compose
r
My ViewModel has mutable state for a query and associated search results. I want to say: "when you arrive at the search results screen, if the query has changed since last time, clear results and trigger a new search." But how do I say that when everything is declarative?