Github url

react-router

by ReactTraining

ReactTraining /react-router

Declarative routing for React

41.1K Stars 8.2K Forks Last release: 2 months ago (v5.2.0) MIT License 4.6K Commits 156 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

react-router

React Router

Declarative routing for React

Docs

View the docs here

Migrating from 2.x/3.x?

3.x docs

2.x docs

Packages

This repository is a monorepo that we manage using Lerna. That means that we actually publish several packages to npm from the same codebase, including:

| Package | Version | Docs | Description | | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | [

react-router

](https://github.com/ReactTraining/react-router/blob/master//packages/react-router) | npm | | The core of React Router | | [

react-router-dom

](https://github.com/ReactTraining/react-router/blob/master//packages/react-router-dom) | npm | | DOM bindings for React Router | | [

react-router-native

](https://github.com/ReactTraining/react-router/blob/master//packages/react-router-native) | npm | | React Native bindings for React Router | | [

react-router-config

](https://github.com/ReactTraining/react-router/blob/master//packages/react-router-config) | npm | | Static route config helpers |

Redux users: The [

react-router-redux

package](https://github.com/ReactTraining/react-router/tree/5345a820818c8d43ac923558670538a479ac2234/packages/react-router-redux) is now deprecated. See Redux Integration for a better approach.

Changes

Detailed release notes for a given version can be found on our releases page.

For change notes prior to version 4, please see the CHANGES.md file.

Funding

You may provide financial support for this project by donating via Open Collective, attending one of our workshops, or purchasing one of our online courses. Thank you for your support!

About

react-router

is developed and maintained by React Training and many amazing contributors. If you're interested in learning more about what React can do for your company, please get in touch!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.