If I got a `SnapshotStateList<>`, since if I...
# compose
s
If I got a
SnapshotStateList<>
, since if I want to replace all of its content in one shot without the possibility that I get a recomposition in-between what I do here, is my best bet just doing this?
Copy code
Snapshot.withMutableSnapshot {
  snapshotStateList.clear()
  snapshotStateList.addAll(newList)
}
👍 3
👍🏾 1