blockTransition() holds a screen's pending lifecycle transition at its initial frame. unblockTransition() releases one block.
TSX
Calls are reference-counted per route. Pair every block with one unblock for the same route. When routeKey is omitted, both functions resolve the most recently focused screen in navigation history.
Blocking changes when the animation starts. It does not reduce JavaScript work or move rendering to another thread.