Skip to content

Update references to ReactTraining #8082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ body:
support or usage questions. Questions here don't have as much visibility as they do elsewhere. Before
you ask a question, here are some resources to get help first:

- Read the docs: https://reacttraining.com/react-router
- Check out the list of frequently asked questions: https://github.com/ReactTraining/react-router/blob/master/FAQ.md
- Explore examples: https://reacttraining.com/react-router/web/example/basic
- Read the docs: https://reactrouter.com
- Check out the list of frequently asked questions: https://github.com/remix-run/react-router/blob/main/FAQ.md
- Explore examples: https://reactrouter.com/web/example/basic
- Look for/ask questions on Stack Overflow: https://stackoverflow.com/questions/ask?tags=react-router
- Ask in chat: https://discord.gg/6RyV8n8yyM

Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ body:
support or usage questions. Questions here don't have as much visibility as they do elsewhere. Before
you ask a question, here are some resources to get help first:

- Read the docs: https://reacttraining.com/react-router
- Check out the list of frequently asked questions: https://github.com/ReactTraining/react-router/blob/master/FAQ.md
- Explore examples: https://reacttraining.com/react-router/web/example/basic
- Read the docs: https://reactrouter.com
- Check out the list of frequently asked questions: https://github.com/remix-run/react-router/blob/main/FAQ.md
- Explore examples: https://reactrouter.com/web/example/basic
- Look for/ask questions on Stack Overflow: https://stackoverflow.com/questions/ask?tags=react-router
- Ask in chat: https://discord.gg/6RyV8n8yyM
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Change Log

This project adheres to [Semantic Versioning](http://semver.org/).
Every release is documented on the Github [Releases](https://github.com/ReactTraining/react-router/releases) page.
Every release is documented on the Github [Releases](https://github.com/remix-run/react-router/releases) page.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You may wish to use [this starter CodeSandbox](https://codesandbox.io/s/react-ro

Please provide thoughtful comments and some sample code. Proposals without substance will be closed.

It's generally a good idea to open an issue for the proposal first before working on the implementation and submitting a pull request. Please also take a look at [our current roadmap](https://github.com/ReactTraining/react-router/issues/6885) and consider ongoing work that might conflict with your proposed changes.
It's generally a good idea to open an issue for the proposal first before working on the implementation and submitting a pull request. Please also take a look at [our current roadmap](https://github.com/remix-run/react-router/issues/6885) and consider ongoing work that might conflict with your proposed changes.

<a name="attention"/></a>

Expand Down Expand Up @@ -53,7 +53,7 @@ All commits that change or add to the API must be done in a pull request that al

The following steps will get you setup to contribute changes to this repo:

1. Fork the repo (click the <kbd>Fork</kbd> button at the top right of [this page](https://github.com/ReactTraining/react-router))
1. Fork the repo (click the <kbd>Fork</kbd> button at the top right of [this page](https://github.com/remix-run/react-router))
2. Clone your fork locally

```bash
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://reacttraining.com/react-router/">
<img alt="react-router" src="https://reacttraining.com/react-router/android-chrome-144x144.png" width="144">
<a href="https://reactrouter.com/">
<img alt="react-router" src="https://reactrouter.com/android-chrome-144x144.png" width="144">
</a>
</p>

Expand All @@ -20,37 +20,37 @@

## Docs

**[View the docs here](https://reacttraining.com/react-router)**
**[View the docs here](https://reactrouter.com)**

[Migrating from 2.x/3.x?](/packages/react-router/docs/guides/migrating.md)

[3.x docs](https://github.com/ReactTraining/react-router/blob/v3/docs)
[3.x docs](https://github.com/remix-run/react-router/blob/v3/docs)

[2.x docs](https://github.com/ReactTraining/react-router/blob/v2.8.1/docs)
[2.x docs](https://github.com/remix-run/react-router/blob/v2.8.1/docs)

## Packages

This repository is a monorepo that we manage using [Lerna](https://github.com/lerna/lerna). That means that we actually publish [several packages](/packages) to npm from the same codebase, including:

| Package | Version | Docs | Description |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [`react-router`](/packages/react-router) | [![npm](https://img.shields.io/npm/v/react-router.svg?style=flat-square)](https://www.npmjs.com/package/react-router) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reacttraining.com/react-router/core/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router/docs) | The core of React Router |
| [`react-router-dom`](/packages/react-router-dom) | [![npm](https://img.shields.io/npm/v/react-router-dom.svg?style=flat-square)](https://www.npmjs.com/package/react-router-dom) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reacttraining.com/react-router/web/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router-dom/docs) | DOM bindings for React Router |
| [`react-router-native`](/packages/react-router-native) | [![npm](https://img.shields.io/npm/v/react-router-native.svg?style=flat-square)](https://www.npmjs.com/package/react-router-native) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reacttraining.com/react-router/native/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router-native/docs) | [React Native](https://facebook.github.io/react-native/) bindings for React Router |
| [`react-router-config`](/packages/react-router-config) | [![npm](https://img.shields.io/npm/v/react-router-config.svg?style=flat-square)](https://www.npmjs.com/package/react-router-config) | [![](https://img.shields.io/badge/API%20Docs-readme-orange.svg?style=flat-square)](/packages/react-router-config/#readme) | Static route config helpers |
| Package | Version | Docs | Description |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [`react-router`](/packages/react-router) | [![npm](https://img.shields.io/npm/v/react-router.svg?style=flat-square)](https://www.npmjs.com/package/react-router) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reactrouter.com/core/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router/docs) | The core of React Router |
| [`react-router-dom`](/packages/react-router-dom) | [![npm](https://img.shields.io/npm/v/react-router-dom.svg?style=flat-square)](https://www.npmjs.com/package/react-router-dom) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reactrouter.com/web/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router-dom/docs) | DOM bindings for React Router |
| [`react-router-native`](/packages/react-router-native) | [![npm](https://img.shields.io/npm/v/react-router-native.svg?style=flat-square)](https://www.npmjs.com/package/react-router-native) | [![](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://reactrouter.com/native/guides/quick-start) [![](https://img.shields.io/badge/API%20Docs-markdown-lightgrey.svg?style=flat-square)](/packages/react-router-native/docs) | [React Native](https://facebook.github.io/react-native/) bindings for React Router |
| [`react-router-config`](/packages/react-router-config) | [![npm](https://img.shields.io/npm/v/react-router-config.svg?style=flat-square)](https://www.npmjs.com/package/react-router-config) | [![](https://img.shields.io/badge/API%20Docs-readme-orange.svg?style=flat-square)](/packages/react-router-config/#readme) | 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](https://reactrouter.com/web/guides/deep-redux-integration) for a better approach.
> **Redux users:** The [`react-router-redux` package](https://github.com/remix-run/react-router/tree/5345a820818c8d43ac923558670538a479ac2234/packages/react-router-redux) is now deprecated. See [Redux Integration](https://reactrouter.com/web/guides/deep-redux-integration) for a better approach.

## Changes

Detailed release notes for a given version can be found [on our releases page](https://github.com/ReactTraining/react-router/releases).
Detailed release notes for a given version can be found [on our releases page](https://github.com/remix-run/react-router/releases).

For change notes prior to version 4, please see [the CHANGES.md file](https://github.com/ReactTraining/react-router/blob/8365d4b2e91084265a1da7de911766169fb9e96e/CHANGES.md).
For change notes prior to version 4, please see [the CHANGES.md file](https://github.com/remix-run/react-router/blob/8365d4b2e91084265a1da7de911766169fb9e96e/CHANGES.md).

## Funding

You may provide financial support for this project by donating [via Open Collective](https://opencollective.com/react-router), attending [one of our workshops](https://reacttraining.com/workshops/), or purchasing [one of our online courses](https://reacttraining.com/courses/). Thank you for your support!

## About

`react-router` is developed and maintained by [React Training](https://reacttraining.com) and many [amazing contributors](https://github.com/ReactTraining/react-router/graphs/contributors). If you're interested in learning more about what React can do for your company, please [get in touch](mailto:[email protected])!
`react-router` is developed and maintained by [React Training](https://reacttraining.com) and many [amazing contributors](https://github.com/remix-run/react-router/graphs/contributors). If you're interested in learning more about what React can do for your company, please [get in touch](mailto:[email protected])!
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"npmClient": "yarn",
"useWorkspaces": true,
"changelog": {
"repo": "ReactTraining/react-router",
"repo": "remix-run/react-router",
"cacheDir": ".changelog",
"labels": {
"breaking": "BREAKING CHANGE",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-router-config",
"version": "5.2.1",
"description": "Static route config matching for React Router",
"repository": "ReactTraining/react-router",
"repository": "remix-run/react-router",
"license": "MIT",
"author": "React Training <[email protected]>",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dom/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# react-router-dom

DOM bindings for [React Router](https://reacttraining.com/react-router).
DOM bindings for [React Router](https://reactrouter.com).

## Installation

Expand Down Expand Up @@ -30,7 +30,7 @@ You can find the library on `window.ReactRouterDOM`.

## Issues

If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/ReactTraining/react-router/issues).
If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/remix-run/react-router/issues).

## Credits

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Router](https://reactrouter.com)'s documentation, specifically [the
`react-router-dom` npm package](https://www.npmjs.com/package/react-router-dom).

They were designed to be read online [on our
website](https://reacttraining.com/react-router/), but that site is temporarily
website](https://reactrouter.com/), but that site is temporarily
unavailable. While it is offline, you can browse the docs here on GitHub.

- [API docs](/packages/react-router-dom/docs/api)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/docs/guides/server-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ You might be interested in our [React Router Config][rrc] package to assist with
[staticrouter]: ../api/StaticRouter.md
[browserrouter]: ../api/BrowserRouter.md
[redirect]: ../api/Redirect.md
[rrc]: https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config
[rrc]: https://github.com/remix-run/react-router/tree/main/packages/react-router-config
2 changes: 1 addition & 1 deletion packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-router-dom",
"version": "5.3.0",
"description": "DOM bindings for React Router",
"repository": "ReactTraining/react-router",
"repository": "remix-run/react-router",
"license": "MIT",
"author": "React Training <[email protected]>",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-native/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# react-router-native

[React Native](https://facebook.github.io/react-native/) bindings for [React Router](https://reacttraining.com/react-router).
[React Native](https://facebook.github.io/react-native/) bindings for [React Router](https://reactrouter.com).

## Installation

Expand All @@ -22,7 +22,7 @@ var Link = require("react-router-native").Link;

## Issues

If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/ReactTraining/react-router/issues).
If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/remix-run/react-router/issues).

## Credits

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-native/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Router](https://reactrouter.com)'s documentation, specifically [the
package](https://www.npmjs.com/package/react-router-native).

They were designed to be read online [on our
website](https://reacttraining.com/react-router/), but that site is temporarily
website](https://reactrouter.com/), but that site is temporarily
unavailable. While it is offline, you can browse the docs here on GitHub.

- [API docs](/packages/react-router-native/docs/api)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-router-native",
"version": "5.2.1",
"description": "React Native bindings for React Router",
"repository": "ReactTraining/react-router",
"repository": "remix-run/react-router",
"license": "MIT",
"author": "React Training <[email protected]>",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can find the library on `window.ReactRouter`.

## Issues

If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/ReactTraining/react-router/issues).
If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/remix-run/react-router/issues).

## Credits

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Router](https://reactrouter.com)'s documentation, specifically [the
`react-router` npm package](https://www.npmjs.com/package/react-router).

They were designed to be read online [on our
website](https://reacttraining.com/react-router/), but that site is temporarily
website](https://reactrouter.com/), but that site is temporarily
unavailable. While it is offline, you can browse the docs here on GitHub.

- [API docs](/packages/react-router/docs/api)
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router/docs/api/Route.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ When `true`, a `path` that has a trailing slash will only match a `location.path
A `<Route>` element tries to match its `path` to the current history location (usually the current browser URL).
However, a [`location`](location.md) with a different `pathname` can also be passed for matching.

This is useful in cases when you need to match a `<Route>` to a location other than the current history location, as shown in the [Animated Transitions](https://reacttraining.com/react-router/web/example/animated-transitions) example.
This is useful in cases when you need to match a `<Route>` to a location other than the current history location, as shown in the [Animated Transitions](https://reactrouter.com/web/example/animated-transitions) example.

If a `<Route>` element is wrapped in a `<Switch>` and matches the location passed to the `<Switch>` (or the current history location), then the `location` prop passed to `<Route>` will be overridden by the one used by the `<Switch>` (given [here](https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Switch.js#L51)).
If a `<Route>` element is wrapped in a `<Switch>` and matches the location passed to the `<Switch>` (or the current history location), then the `location` prop passed to `<Route>` will be overridden by the one used by the `<Switch>` (given [here](https://github.com/remix-run/react-router/blob/main/packages/react-router/modules/Switch.js#L51)).

## sensitive: bool

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/docs/api/Router.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ReactDOM.render(

## history: object

A [`history`](https://github.com/ReactTraining/history) object to use for navigation.
A [`history`](https://github.com/remix-run/history) object to use for navigation.

```jsx
import React from "react";
Expand Down
Loading