Permalink
Browse files

Updated URLs for ReactTraining org move.

1 parent 800991c commit caf468563112c34ffa213bd0620cbc6276e30277 @timdorr timdorr committed Sep 13, 2016
View
@@ -6,8 +6,8 @@ Have a usage question?
The issue tracker isn't the best place for usage questions. This format is not well-suited for Q&A, and 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:
- Do the tutorial: https://github.com/reactjs/react-router-tutorial
-- Read the docs: https://github.com/reactjs/react-router/tree/latest/docs
-- Explore examples: https://github.com/reactjs/react-router/tree/latest/examples
+- Read the docs: https://github.com/ReactTraining/react-router/tree/latest/docs
+- Explore examples: https://github.com/ReactTraining/react-router/tree/latest/examples
- Look for/ask questions on stack overflow: https://stackoverflow.com/questions/ask?tags=react-router
- Ask in chat: https://discord.gg/0ZcbPKXt5bYaNQ46
@@ -34,4 +34,3 @@ http://jsbin.com/sacerobuxi/edit?html,js,output
## Expected Behavior
## Actual Behavior
-
View
@@ -11,17 +11,17 @@ React Router keeps your UI in sync with the URL. It has a simple API with powerf
### Docs & Help
-- [Tutorial – do this first!](https://github.com/reactjs/react-router-tutorial)
+- [Tutorial – do this first!](https://github.com/ReactTraining/react-router-tutorial)
- [Guides and API docs](/docs)
-- [Troubleshooting guide](https://github.com/reactjs/react-router/blob/master/docs/Troubleshooting.md)
+- [Troubleshooting guide](https://github.com/ReactTraining/react-router/blob/master/docs/Troubleshooting.md)
- [Changelog](/CHANGES.md)
- [Stack Overflow](http://stackoverflow.com/questions/tagged/react-router)
- [CodePen boilerplate](http://codepen.io/anon/pen/xwQZdy?editors=001) for bug reports
**Older Versions:**
-- 0.13.x - [docs](https://github.com/reactjs/react-router/tree/v0.13.6/doc) / [guides](https://github.com/reactjs/react-router/tree/v0.13.6/docs/guides) / [code](https://github.com/reactjs/react-router/tree/v0.13.6) / [upgrade guide](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v1.0.0.md)
-- 1.0.x - [docs](https://github.com/reactjs/react-router/tree/1.0.x/docs) / [code](https://github.com/reactjs/react-router/tree/1.0.x) / [upgrade guide](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md)
+- 0.13.x - [docs](https://github.com/ReactTraining/react-router/tree/v0.13.6/doc) / [guides](https://github.com/ReactTraining/react-router/tree/v0.13.6/docs/guides) / [code](https://github.com/ReactTraining/react-router/tree/v0.13.6) / [upgrade guide](/upgrade-guides/v1.0.0.md)
+- 1.0.x - [docs](https://github.com/ReactTraining/react-router/tree/1.0.x/docs) / [code](https://github.com/ReactTraining/react-router/tree/1.0.x) / [upgrade guide](/upgrade-guides/v2.0.0.md)
For questions and support, please visit [our channel on Reactiflux](https://discord.gg/0ZcbPKXt5bYaNQ46) or [Stack Overflow](http://stackoverflow.com/questions/tagged/react-router).
@@ -136,14 +136,14 @@ React Router was initially inspired by Ember's fantastic router. Many thanks to
Also, thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to run our build in real browsers.
-[build-badge]: https://img.shields.io/travis/reactjs/react-router/master.svg?style=flat-square
-[build]: https://travis-ci.org/reactjs/react-router
+[build-badge]: https://img.shields.io/travis/ReactTraining/react-router/master.svg?style=flat-square
+[build]: https://travis-ci.org/ReactTraining/react-router
[npm-badge]: https://img.shields.io/npm/v/react-router.svg?style=flat-square
[npm]: https://www.npmjs.org/package/react-router
-[codecov-badge]: https://img.shields.io/codecov/c/github/reactjs/react-router/master.svg?style=flat-square
-[codecov]: https://codecov.io/gh/reactjs/react-router
+[codecov-badge]: https://img.shields.io/codecov/c/github/ReactTraining/react-router/master.svg?style=flat-square
+[codecov]: https://codecov.io/gh/ReactTraining/react-router
[discord-badge]: https://img.shields.io/badge/Discord-join%20chat%20%E2%86%92-738bd7.svg?style=flat-square
[discord]: https://discord.gg/0ZcbPKXt5bYaNQ46
View
@@ -105,7 +105,7 @@ A `<Link>` can know when the route it links to is active and automatically apply
#### Props
##### `to`
-A [location descriptor](https://github.com/reactjs/react-router/blob/master/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
+A [location descriptor](/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
* If it's a string it represents the absolute path to link to, e.g. `/users/123` (relative paths are not supported).
* If it's an object it can have four keys:
@@ -23,4 +23,4 @@ const Home = withRouter(
)
```
-Note that this example makes use of the [withRouter](https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md) higher-order component introduced in v2.4.0.
+Note that this example makes use of the [withRouter](/upgrade-guides/v2.4.0.md) higher-order component introduced in v2.4.0.
@@ -46,4 +46,4 @@ const CourseRoute = {
Now go look at what hacks you have in place to do this. Just kidding, I don't want to make you sad right now.
-Run the [huge apps](https://github.com/reactjs/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
+Run the [huge apps](https://github.com/ReactTraining/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
@@ -1,6 +1,6 @@
# Histories
-React Router is built with [history](https://github.com/reactjs/history).
+React Router is built with [history](https://github.com/mjackson/history).
In a nutshell, a history knows how to listen to the browser's address
bar for changes and parses the URL into a `location` object that the
router can use to match routes and render the correct set of components.
@@ -172,4 +172,3 @@ history.listenBeforeUnload(function () {
return 'Are you sure you want to leave this page?'
})
```
-
@@ -168,7 +168,7 @@ Now when someone clicks on that link to `/inbox/messages/5` they'll automaticall
### Enter and Leave Hooks
-[Route](/docs/Glossary.md#route)s may also define [`onEnter`](/docs/Glossary.md#enterhook) and [`onLeave`](/docs/Glossary.md#leavehook) hooks that are invoked once a transition has been [confirmed](/docs/guides/ConfirmingNavigation.md). These hooks are useful for various things like [requiring auth](https://github.com/reactjs/react-router/tree/master/examples/auth-flow) when a route is entered and saving stuff to persistent storage before a route unmounts.
+[Route](/docs/Glossary.md#route)s may also define [`onEnter`](/docs/Glossary.md#enterhook) and [`onLeave`](/docs/Glossary.md#leavehook) hooks that are invoked once a transition has been [confirmed](/docs/guides/ConfirmingNavigation.md). These hooks are useful for various things like [requiring auth](https://github.com/ReactTraining/react-router/tree/master/examples/auth-flow) when a route is entered and saving stuff to persistent storage before a route unmounts.
During a transition, [`onLeave` hooks](/docs/Glossary.md#leavehook) run first on all routes we are leaving, starting with the leaf route on up to the first common ancestor route. Next, [`onEnter` hooks](/docs/Glossary.md#enterhook) run starting with the first parent route we're entering down to the leaf route.
@@ -1,6 +1,6 @@
React Router Testing With Jest
====================
-Testing has become much easier since React Router version 1.x. For Testing prior React Router versions, see [Old testing docs](https://github.com/reactjs/react-router/blob/57543eb41ce45b994a29792d77c86cc10b51eac9/docs/guides/testing.md).
+Testing has become much easier since React Router version 1.x. For Testing prior React Router versions, see [Old testing docs](https://github.com/ReactTraining/react-router/blob/57543eb41ce45b994a29792d77c86cc10b51eac9/docs/guides/testing.md).
It is recommended that you read the following two tutorials prior:
- [Jest Getting Started docs](https://facebook.github.io/jest/docs/getting-started.html)
@@ -173,7 +173,7 @@ describe('v1 Router', function () {
describe('at a route with special characters', function () {
it('does not double escape', function (done) {
- // https://github.com/reactjs/react-router/issues/1574
+ // https://github.com/ReactTraining/react-router/issues/1574
class MyComponent extends Component {
render() {
return <div>{this.props.params.someToken}</div>
@@ -191,7 +191,7 @@ describe('v1 Router', function () {
})
it('does not double escape when nested', function (done) {
- // https://github.com/reactjs/react-router/issues/1574
+ // https://github.com/ReactTraining/react-router/issues/1574
class MyWrapperComponent extends Component {
render() {
return this.props.children
@@ -217,7 +217,7 @@ describe('v1 Router', function () {
})
it('is happy to have colons in parameter values', function (done) {
- // https://github.com/reactjs/react-router/issues/1759
+ // https://github.com/ReactTraining/react-router/issues/1759
class MyComponent extends Component {
render() {
return <div>{this.props.params.foo}</div>
@@ -235,7 +235,7 @@ describe('v1 Router', function () {
})
it('handles % in parameters', function (done) {
- // https://github.com/reactjs/react-router/issues/1766
+ // https://github.com/ReactTraining/react-router/issues/1766
class MyComponent extends Component {
render() {
return <div>{this.props.params.name}</div>
@@ -253,7 +253,7 @@ describe('v1 Router', function () {
})
it('handles forward slashes', function (done) {
- // https://github.com/reactjs/react-router/issues/1865
+ // https://github.com/ReactTraining/react-router/issues/1865
class Parent extends Component {
render() {
return <div>{this.props.children}</div>
View
@@ -11,9 +11,9 @@
],
"main": "lib/index",
"jsnext:main": "es6/index",
- "repository": "reactjs/react-router",
- "homepage": "https://github.com/reactjs/react-router#readme",
- "bugs": "https://github.com/reactjs/react-router/issues",
+ "repository": "ReactTraining/react-router",
+ "homepage": "https://github.com/ReactTraining/react-router#readme",
+ "bugs": "https://github.com/ReactTraining/react-router/issues",
"scripts": {
"build": "npm run build-cjs && npm run build-es",
"build-cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel ./modules -d lib --ignore '__tests__'",
@@ -4,7 +4,7 @@
### Goals
-You might enjoy reading this issue: https://github.com/reactjs/react-router/issues/2646
+You might enjoy reading this issue: https://github.com/ReactTraining/react-router/issues/2646
1. Clear up the coupling between History and Router with simpler APIs.

0 comments on commit caf4685

Please sign in to comment.