Noticing some weird issues as I’m trying to upgrade my library to beta-01. Think that some mutable state values are only being propagated once I minimize the app and open it again. Anyone notice something of this flavor or an existing bug that might’ve been discussed already?
🤔 1
a
Adam Powell
03/01/2021, 2:03 AM
if you listen for changes with a
snapshotFlow {}
does it emit values for changes or no?
v
Vinay Gaba
03/01/2021, 2:08 AM
I was trying to remember what lets me debug and monitor these changes. Giving this a shot!
a
Adam Powell
03/01/2021, 2:15 AM
you can also use the direct
Snapshot.register
method to register an apply observer which will be a bit more direct/immediate, but the flow should be enough to tell if snspahots are being applied at all or not
v
Vinay Gaba
03/01/2021, 2:37 AM
I used
Snapshot.sendApplyNotifications()
after updating the state properties to make sure that the changes are propagated. Strangely enough, I don’t see my print statements or debug points being triggered for the