github remix-run/react-router react-router@6.7.0
v6.7.0

latest releases: v0.0.0-experimental-312bddb22, v0.0.0-nightly-a096ebc81-20240919, v0.0.0-experimental-3278f3ca6...
20 months ago

What's Changed

Minor Changes

  • Add unstable_useBlocker/unstable_usePrompt hooks for blocking navigations within the app's location origin (#9709, #9932)
  • Add preventScrollReset prop to <Form> (#9886)

Patch Changes

  • Added pass-through event listener options argument to useBeforeUnload (#9709)
  • Fix generatePath when optional params are present (#9764)
  • Update <Await> to accept ReactNode as children function return result (#9896)
  • Improved absolute redirect url detection in actions/loaders (#9829)
  • Fix URL creation with memory histories (#9814)
  • Fix scroll reset if a submission redirects (#9886)
  • Fix 404 bug with same-origin absolute redirects (#9913)
  • Streamline jsdom bug workaround in tests (#9824)

Full Changelog: https://github.com/remix-run/react-router/compare/react-router@6.6.2...react-router@6.7.0

Don't miss a new react-router release

NewReleases is sending notifications on new releases.