• React Router Documentation
  • 1. Introduction
    • 1.1. What React Router is/isn't
    • 1.2. How to get started
  • 2. Guides
    • 2.1. Navigate Outside Components
    • 2.2. Client side "404 not found"
    • 2.3. Data Fetching (todo)
    • 2.4. Server Rendering (todo)
    • 2.5. Hashtag in the URL (todo)
    • 2.6. Writing Tests (todo)
    • 2.7. Passing props to Route component (todo)
    • 2.8. Code Splitting (todo)
    • 2.9. Usage with Webpack (todo)
    • 2.10. Usage with Redux (todo)
    • 2.11. Usage with Relay (todo)
    • 2.12. Usage with Flux (todo)
    • 2.13. Named Components (todo)
    • 2.14. Route Transitions (todo)
    • 2.15. Building an app with Router (todo)
  • 3. Histories (todo)
  • 4. API Reference
    • 4.1. Components
      • 4.1.1. <Router>
      • 4.1.2. <Link>
      • 4.1.3. <IndexLink>
      • 4.1.4. <RouterContext>
        • 4.1.4.1. context.router
      • 4.1.5. <RoutingContext> (deprecated)
      • 4.1.6. <Route>
      • 4.1.7. Plain Route
      • 4.1.8. <Redirect>
      • 4.1.9. <IndexRoute>
      • 4.1.10. <IndexRedirect>
    • 4.2. Route Components
    • 4.3. Histories
    • 4.4. Utilities
      • 4.4.1. match()
      • 4.4.2. createRoutes()
      • 4.4.3. PropTypes
      • 4.4.4. useRoutes (deprecated)
    • 4.5. Mixins (deprecated)
  • 5. StackOverflow Questions
  • 6. Glossary (todo)
  • 7. Troubleshooting (todo)
  • 8. FAQ (todo)
  • 9. Feedback
  • Published with GitBook

API Reference

API Reference

  • Components

    • <Router>
    • <Link>
    • <IndexLink>
    • <RouterContext>
      • context.router
    • <RoutingContext> (deprecated)
    • <Route>
    • Plain Route
    • <Redirect>
    • <IndexRoute>
    • <IndexRedirect>
  • Route Components

  • Histories

  • Utilities

    • match()
    • createRoutes()
    • PropTypes
    • useRoutes (deprecated)
  • Mixins (deprecated)