Changelog History
Page 2
-
v5.1.0 Changes
September 24, 2019Read the blog post
List of commits
๐ Features
- โ Add
useParams
,useLocation
,useHistory
, anduseRouteMatch
hooks (d6224d6) - โ Add support for
forwardRef
in<Link>
(b5528ed) - โ Add support for functions in
<Link to>
and<NavLink to>
(#5331, #5368) - โ Add
<Link component>
API (#5437)
๐ Bugfixes
- Don't render
<Route children>
elements when the<Route>
does not match (9665659)
- โ Add
-
v3.2.6 Changes
March 04, 2020Changes
- โฌ๏ธ Upgrade hoist-non-react-statics/react-is to support newer React APIs (#7182 by @henryqdineen)
-
v3.2.5 Changes
October 25, 2019Changes
- ๐ Fix React version detection for UNSAFE_ lifecycles (fixes issues with React 16.10) (#6961 by @henryqdineen)
- โ Add element shape for Link's innerRef prop (#6886 by @nescalante)
-
v3.2.4 Changes
August 23, 2019 -
v3.2.3 Changes
June 26, 2019๐ This release includes the missing UMD build from the 3.2.2. Sorry about that!
-
v0.0.0-experimental Changes
May 27, 2020๐ This release adds support for data fetching with suspense using React's
unstable_useTransition
API. It is based on v6.0.0-alpha.5.๐ Support for suspense is added via a
timeoutMs
prop that may be passed to a<BrowserRouter>
,<HashRouter>
,<MemoryRouter>
, or<NativeRouter>
. Each of these use the prop internally to determine how long to wait to show the new page whenever the URL changes. The defaulttimeoutMs
is 5000 (5 seconds).What does "experimental" mean?
๐ React Router v6's experimental release channel follows the same semantics as React's own
experimental
channel, which means that it is used for features that are not yet ready for a stable release. Use the experimental releases to try out new features before they are released.Installing
Development on v6's experimental channel is happening on the
dev-experimental
branch.โ If you'd like to test it out, install from npm:
$ npm install react-router@experimental react-router-dom@experimental
Or, if you're on React Native:
$ yarn add react-router@experimental react-router-native@experimental
๐ We are actively working on documentation. For now, if you're just interested in testing things out you may be interested in the getting started guide. If you're interested in upgrading an existing app, please check out the v5 to v6 migration guide.
Enjoy!