Skip to content

refactor(router-v2): dedupe nav plumbing, drop dynamic route path#29368

Open
chrisnojima wants to merge 1 commit into
nojima/HOTPOT-remote-window-cleanfrom
nojima/HOTPOT-nav-clean
Open

refactor(router-v2): dedupe nav plumbing, drop dynamic route path#29368
chrisnojima wants to merge 1 commit into
nojima/HOTPOT-remote-window-cleanfrom
nojima/HOTPOT-nav-clean

Conversation

@chrisnojima

Copy link
Copy Markdown
Contributor
  • share useUserSwitchNavKey, tabToTestID, and NavigationContainer callbacks between desktop and native routers
  • migrate settings and crypto sub-navs to static config; custom navigator factories accept static config in RN8, so the JSX-element route path (routeMapToScreenElements) is deletable
  • delete dead hooks.native.tsx, unused props/refs, identical wrapper components
  • fix module.hot.accept('') — empty string landed in the callback slot; plain self-accept was the intent

- share useUserSwitchNavKey, tabToTestID, and NavigationContainer
  callbacks between desktop and native routers
- migrate settings and crypto sub-navs to static config; custom
  navigator factories accept static config in RN8, so the JSX-element
  route path (routeMapToScreenElements) is deletable
- delete dead hooks.native.tsx, unused props/refs, identical wrapper
  components
- fix module.hot.accept('') — empty string landed in the callback
  slot; plain self-accept was the intent
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