lurq

npm upgrade

Home

react-router-dom 6 → 7

6.30.6 → 7.18.4. What the package's exports lost, renamed or changed between the two releases, from lurq's extraction of both published tarballs.

react-router-dom 7.18.4 removes or renames exports your code may import.

Removed
22
Renamed
0
Signature changes
0
Types removed
0
Newly deprecated
0
Added
2

Does this break your code?

Run this in your project. It compares both releases against the names your code actually imports, locally, with no account and nothing sent to lurq:

npx lurqrun check-upgrade --upgrade react-router-dom@6.30.6..7.18.4

To have your coding agent check upgrades like this before it writes them, connect lurq to Claude Code, Cursor, VS Code or Codex:

npx lurqrun

Quickstart

Removed

Gone at runtime, with no replacement found under another name. Imports of these fail.

  • BrowserRouterfunction
  • Formobject
  • HashRouterfunction
  • Linkobject
  • NavLinkobject
  • ScrollRestorationfunction
  • UNSAFE_FetchersContextobject
  • UNSAFE_ViewTransitionContextobject
  • UNSAFE_useScrollRestorationfunction
  • createBrowserRouterfunction
  • createHashRouterfunction
  • createSearchParamsfunction
  • unstable_HistoryRouterfunction
  • unstable_usePromptfunction
  • useBeforeUnloadfunction
  • useFetcherfunction
  • useFetchersfunction
  • useFormActionfunction
  • useLinkClickHandlerfunction
  • useSearchParamsfunction
  • useSubmitfunction
  • useViewTransitionStatefunction

An export diff shows what a release removed or re-signatured, not behaviour changes: read the changelog for those. Extracted Sep 23, 2026. react-router-dom on lurq.