React Lecacy Router
For those who can't stand these changes.
A legacy routing library for React.js
-
-
Object.assign
instead of copyProperties
Object.assign
instead of merge
<Link>
s with absolute hrefs<Routes onError>
<Routes onTransitionError>
<Routes onAbortedTransition>
<Routes scrollBehavior="browser">
alias of "imitateBrowser"<Routes fixedPath>
=> <Routes initialPath>
will be useful for SSR<Routes location="none">
<Routes fixedPath>
<Routes preserveScrollPosition>
=> <Routes scrollBehavior>
<Route preserveScrollPosition>
<Routes onActiveStateChange>
<Redirect from>
to *<DefaultRoute name>
<NotFoundRoute>
<Link/>
s to take params property<Link>
s with key prop<DefaultRoute>
component<Link />
<Redirect/>
component<Link/>
<Routes>
component from <Route>