You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initial commit
* possible fix
* fixes
* Fix unmount timing on iOS pop: destroy React view synchronously
On programmatic pop, snapshot the outgoing screen and tear down its
React view immediately so componentWillUnmount fires before the next
screen mounts. This prevents shared-state races when a screen is
popped and re-pushed in quick succession.
For interactive pops (swipe-back), skip the early teardown so the
React view stays alive if the gesture is cancelled, falling back to
the existing delegate cleanup path.
Also guards against no-op pops (e.g. popping root) leaving a stuck
snapshot, and avoids duplicate componentDidDisappear in multi-pop
flows by only emitting it for the previously visible screen.
0 commit comments