v5
E559080
v5 is a major version of the React Router library that introduced a more declarative, component-based approach to routing in React applications.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| React Router v5 | 0 |
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript library version
ⓘ
software library release ⓘ |
| compatibleWith |
React 16
NERFINISHED
ⓘ
React 17 NERFINISHED ⓘ |
| designGoal |
enable declarative navigation in components
ⓘ
simplify routing configuration in React ⓘ |
| distribution |
npm package react-router
ⓘ
npm package react-router-dom ⓘ npm package react-router-native NERFINISHED ⓘ |
| hasApproach |
component-based routing
ⓘ
declarative routing ⓘ |
| hasComponent |
BrowserRouter
NERFINISHED
ⓘ
HashRouter ⓘ Link ⓘ MemoryRouter NERFINISHED ⓘ NavLink NERFINISHED ⓘ Redirect ⓘ Route ⓘ Switch ⓘ |
| hasHook |
useHistory
ⓘ
useLocation ⓘ useParams ⓘ useRouteMatch ⓘ |
| introducedFeature |
<Link> component for declarative navigation
ⓘ
<NavLink> component for active link styling ⓘ <Redirect> component for navigation redirection ⓘ <Route> component-based configuration ⓘ <Switch> component for exclusive route matching ⓘ hooks-based APIs in react-router-dom 5.1+ ⓘ |
| license | MIT License ⓘ |
| maintainer | React Training NERFINISHED ⓘ |
| partOf | React Router NERFINISHED ⓘ |
| predecessor | React Router v4 NERFINISHED ⓘ |
| programmingLanguage | JavaScript ⓘ |
| successor | React Router v6 NERFINISHED ⓘ |
| supports |
client-side routing
ⓘ
single-page applications ⓘ |
| supportsFeature |
dynamic route parameters
ⓘ
nested routes ⓘ programmatic navigation via history API ⓘ route guards via custom logic in components ⓘ route-based code splitting ⓘ |
| targetFramework | React NERFINISHED ⓘ |
| targetPlatform | web ⓘ |
| usesConcept |
history object for navigation state
ⓘ
location object for URL state ⓘ match object for route params and path info ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.