Skip to content

Commit 25e9c7d

Browse files
committed
docs: add note
1 parent 2902f7c commit 25e9c7d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/react-navigation-advanced/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ This example demonstrates an auth-gated React Navigation app with Detour integra
1818
- After sign-in, the rendered screen set changes. If onboarding has not been completed yet, `Onboarding` is shown — `Details` is still not rendered, so the pending link stays remembered.
1919
- After onboarding, `Details` becomes part of the rendered stack. React Navigation retries the unhandled action and navigates to `Details` (or falls through to `NotFound`).
2020

21+
> **Note:** `UNSTABLE_routeNamesChangeBehavior="lastUnhandled"` is not deep-link-specific. It also captures other unhandled navigation actions — for example a manual `navigation.navigate(...)` call or an `initialState` pointing at a screen that isn't currently rendered — and replays them once that screen becomes part of the navigator. See the React Navigation docs for the full behavior.
22+
2123
### Expected dev-only warning
2224

2325
When the link arrives while the target screen isn't rendered yet (e.g. on `SignIn`), React Navigation logs a development-only warning.

0 commit comments

Comments
 (0)