Skip to content

chore(navigation): update to react-navigation 7.x - #1330

Draft
hgray-instawork wants to merge 9 commits into
masterfrom
hardin/rnav-7-update
Draft

chore(navigation): update to react-navigation 7.x#1330
hgray-instawork wants to merge 9 commits into
masterfrom
hardin/rnav-7-update

Conversation

@hgray-instawork

@hgray-instawork hgray-instawork commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Upgrade Hyperview from React Navigation 6 to the latest React Navigation 7 packages:

  • @react-navigation/native 7.3.14
  • @react-navigation/bottom-tabs 7.18.14
  • @react-navigation/stack 7.10.19

The Hyperview API remains unchanged and navigation behavior, transitions, and presentation continue to match the current Hyperview release.

React Navigation 7 migration

This applies the relevant changes from the 6.x to 7.x migration guide:

  • Adapt custom stack and tab navigators to the new custom navigator contracts, including required StackView props and the v7 navigation state shape.
  • Replace animationEnabled with the new animation option.
  • Preserve Hyperview’s existing unwind behavior using the supported pop: true navigation option.
  • Resolve bare route names across nested stack and tab navigators with Hyperview’s custom routers despite RN7 removing implicit nested navigation. This avoids the deprecated navigationInChildEnabled and navigateDeprecated compatibility APIs.
  • Explicitly configure card and modal presentation to account for RN7’s modal transition changes.
  • Preserve close followed by new or push. RN7 may remove the closing route before its scene unmounts, so Hyperview redirects subsequent actions from the stale child navigator to its active parent.
  • Use @react-navigation/stack 7.10.19, which fixes screens remaining inert when scene.progress.next disappears during route removal.

Route lifecycle and URL state remain synchronized during reload, back, close, deep-link, and dynamic modal flows.

Validation

  • TypeScript, lint, unit tests, and XML validation pass.
  • 404 Hyperview tests pass.
  • Full Hyperview demo tested on iOS and Android.
  • Mobile app MDS navigation scenarios tested on iOS and Android, including nested/deep-link routing, repeated navigation, unwind behavior, modal/push/close flows, transitions, and post-modal responsiveness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant