Right now, we are flushing the updates basically right after React runs, without waiting to see what happens when the updates are flushed to the host. Need to decide whether this is correct (I would prefer to keep it if possible), or if there are expectations that would be violated and we need to instead move effects to be flushed close to when they would have been had this code run on the main thread instead.
Right now, we are flushing the updates basically right after React runs, without waiting to see what happens when the updates are flushed to the host. Need to decide whether this is correct (I would prefer to keep it if possible), or if there are expectations that would be violated and we need to instead move effects to be flushed close to when they would have been had this code run on the main thread instead.