mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 16:36:25 +00:00
Summary: SetState can be somewhat racy. By the time the route state finishes, another resetTo has already happened, so the origional route is no longer in the stack. Hence the redbox invariant "Calling pop to route for a route that doesn't exist!" This could also be fixed in product code by not calling resetTo rapidly, but the navigator should be resilient to such shenanigans @public Test Plan: Cannot get AdsManager crash t7031976