Packages

@remix-run/router

1.23.4 · 18 Aug 2026MIT24.8M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.3

6 Jun 2023Where it was published

1.23.4 is the newest release of 1.x.

In short

2 new3 fixed1 internal

Security

2 advisories affect 1.6.3; 1.23.3 fixes them

Release note

Warning
Please use version 6.13.0 or later instead of 6.12.0/6.12.1. These versions suffered from some Webpack build/minification issues resulting failed builds or invalid minified code in your production bundles. See #10569 and #10579 for more details.

What's Changed

With 6.12.0 we've added better support for suspending components by wrapping the internal router state updates in React.startTransition. This means that, for example, if one of your components in a destination route suspends and you have not provided a Suspense boundary to show a fallback, React will delay the rendering of the new UI and show the old UI until that asynchronous operation resolves. This could be useful for waiting for things such as waiting for images or CSS files to load (and technically, yes, you could use it for data loading but we'd still recommend using loaders for that 😀). For a quick overview of this usage, check out Ryan's demo on Twitter.

Minor Changes

  • Wrap internal router state updates with React.startTransition

Patch Changes

  • Allow fetcher revalidations to complete if submitting fetcher is deleted

  • Re-throw DOMException (DataCloneError) when attempting to perform a PUSH navigation with non-serializable state.

  • Ensure revalidations happen when hash is present

  • Upgrade jest and jsdom

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.