Skip to content

RR7 4/5: Enable react-router v7 future flags on v6#2001

Open
GregorShear wants to merge 1 commit into
greg/rr7-3-splat-cleanupfrom
greg/rr7-4-future-flags
Open

RR7 4/5: Enable react-router v7 future flags on v6#2001
GregorShear wants to merge 1 commit into
greg/rr7-3-splat-cleanupfrom
greg/rr7-4-future-flags

Conversation

@GregorShear

@GregorShear GregorShear commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Part of the React Router v7 upgrade stack (4 of 5). Base: greg/rr7-3-splat-cleanup.

Opts into v7 routing semantics while still on v6, so the actual package swap (PR 5) is behavior-neutral and easy to roll back.

  • v7_relativeSplatPath — already satisfied by the splat cleanup in PR 3.
  • v7_fetcherPersist, v7_normalizeFormMethod, v7_partialHydration, v7_skipActionErrorRevalidationno-ops here: the app uses no loaders/actions/fetchers (audited: no formMethod, no fallbackElement, no react-router defer()/json()).
  • v7_startTransition — set on RouterProvider (it's a render flag, not a router option).

Verified the app boots and the collections create dialog still renders over the table under the new splat semantics. Note: these flags are reverted in PR 5 because they become the default in v7.

Opts into v7 routing semantics while still on v6 so the eventual package
swap is behavior-neutral. v7_relativeSplatPath is already satisfied by the
splat cleanup; the loader/action/fetcher flags are no-ops here (no loaders or
actions in use). v7_startTransition is set on RouterProvider rather than the
router options. Verified app boots and the collections create dialog still
renders over the table under the new splat semantics.
@GregorShear GregorShear requested a review from a team as a code owner June 12, 2026 19:22
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