Jason Atwood
09/07/2022, 2:41 PMThe only time a read can't happen is when reading ahttps://dev.to/zachklipp/implementing-snapshot-aware-data-structures-3pi8 A year later, do you still agree w/ the statement "although in practice it usually means a bug in Compose itself, not your code" ?that was initialized after the current snapshot was created. If you've ever gotten anStateObject
with the message "Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied", that might be why (although in practice it usually means a bug in Compose itself, not your code)IllegalStateException
Jason Atwood
09/07/2022, 2:42 PMIan G. Clifton
09/09/2022, 5:56 PMJason Atwood
09/13/2022, 3:31 PM