Packages

@clerk/react-router

3.7.6 · 19 Nov 2026MIT138.1k / weekRepositoryHomepagenpmAtom feed

Upgrading @clerk/react-router From 2.4.19 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.4.19Latest3.7.6
  1. 2.4.19yours
  2. 3.0.0target
  3. 30 pre

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

Release by release

  1. 3.0.0

    Migration needed3 Mar 20266 new · 2 fixes
    • Breaking

      useAuth().getToken is no longer undefined during server-side rendering, it is a function and calling it will throw.

    • Breaking

      Refactor React SDK hooks to subscribe to auth state via useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes.

    • Breaking

      Usage of rootAuthLoader without the clerkMiddleware() installed will not throw a runtime error.

    • Breaking

      Remove clerkJSUrl, clerkJSVersion, clerkUIUrl, and clerkUIVersion props from all SDKs. To pin a specific version of @clerk/clerk-js, import the Clerk constructor from @clerk/clerk-js and pass it to ClerkProvider via the Clerk prop. To pin a specific version of @clerk/ui, import ui from @clerk/ui and pass it via the ui prop. This bundles the modules directly with your application instead of loading them from the CDN.

3 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.