Skip to content

Commit 095ed6c

Browse files
committed
Missed a couple rackts. Derackted.
1 parent e279507 commit 095ed6c

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

scripts/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ node scripts/build.js
4747
# This is a workaround for a nasty npm bug. :'(
4848
# First, we need to uninstall the history package so
4949
# it's not included in the react-router npm package.
50-
# https://github.com/rackt/react-router/issues/2195
50+
# https://github.com/reactjs/react-router/issues/2195
5151
# https://github.com/npm/npm/issues/9894
5252
rm -rf node_modules/history
5353

upgrade-guides/v1.0.0.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ render(<Router routes={routes}/>, el)
5252
### Locations
5353

5454
Locations are now called histories (that emit locations). You import
55-
them from the [`history` package](https://github.com/rackt/history), not react router.
55+
them from the [`history` package](https://github.com/reactjs/history), not react router.
5656

5757
```js
5858
// v0.13.x
@@ -68,7 +68,7 @@ render(<Router history={history}>{routes}</Router>, el)
6868

6969
If you do not specify a history type (as in the example above) then you will notice some unusual behaviour after updating to 1.0.0. With the default hash based routing a querystring entry not defined by yourself will start appearing in your URLs called `_k`. An example of how it looks is this: `?_k=umhx1s`
7070

71-
This is intended and part of [createHashHistory](https://github.com/rackt/react-router/blob/master/docs/guides/Histories.md#createhashhistory) (which is the default history approach used if one is not specified). You can read more about the feature [here](https://github.com/rackt/react-router/blob/master/docs/guides/Histories.md#what-is-that-_kckuvup-junk-in-the-url) and how to opt out [here](https://rackt.github.io/history/stable/HashHistoryCaveats.html).
71+
This is intended and part of [createHashHistory](/docs/guides/Histories.md#createhashhistory) (which is the default history approach used if one is not specified). You can read more about the feature [here](/docs/guides/Histories.md#what-is-that-_kckuvup-junk-in-the-url) and how to opt out [here](https://reactjs.org/history/stable/HashHistoryCaveats.html).
7272

7373
### Route Config
7474

@@ -83,7 +83,7 @@ parents just like before but prop names have changed.
8383
<Route path="about" component={About}/>
8484
```
8585

86-
Named routes are gone (for now, [see discussion](https://github.com/rackt/react-router/issues/1840))
86+
Named routes are gone (for now, [see discussion](https://github.com/reactjs/react-router/issues/1840))
8787

8888
### NotFound route
8989

@@ -240,7 +240,7 @@ var Assignment = React.createClass({
240240
var Assignment = React.createClass({
241241
mixins: [ History ],
242242
navigateAfterSomethingHappened () {
243-
// the router is now built on rackt/history, and it is a first class
243+
// the router is now built on reactjs/history, and it is a first class
244244
// API in the router for navigating
245245
this.history.pushState(null, `/users/${user.id}`, query);
246246
// this.history.replaceState(null, `/users/${user.id}`, query);
@@ -331,7 +331,7 @@ For example, `params` is not available via context.
331331
### Scrolling
332332

333333
We're developing scroll behaviors separately in the
334-
[`scroll-behavior`](https://github.com/rackt/scroll-behavior)
334+
[`scroll-behavior`](https://github.com/taion/scroll-behavior)
335335
library until we have a stable, robust implementation that we're happy with.
336336
Currently, scroll behaviors are exposed there as history enhancers:
337337

@@ -370,4 +370,3 @@ To cancel a "transition from", please refer to the
370370

371371
There's a lot of the old API we've missed, please give the [new
372372
docs](/docs) a read and help us fill this guide in. Thanks!
373-

upgrade-guides/v2.0.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Goals
66

7-
You might enjoy reading this issue: https://github.com/rackt/react-router/issues/2646
7+
You might enjoy reading this issue: https://github.com/reactjs/react-router/issues/2646
88

99
1. Clear up the coupling between History and Router with simpler APIs.
1010

@@ -26,7 +26,7 @@ The deprecation warnings should also lead you to the relevant part of this docum
2626

2727
### Upgrade Automatically with Codemods
2828

29-
Using a tool called [jscodeshift](https://github.com/facebook/jscodeshift), we have made available some codemods for upgrading your code to the new APIs automatically: https://github.com/rackt/rackt-codemod
29+
Using a tool called [jscodeshift](https://github.com/facebook/jscodeshift), we have made available some codemods for upgrading your code to the new APIs automatically: https://github.com/reactjs/rackt-codemod
3030

3131
A codemod is much like Babel, but instead of converting your ES2015 code to ES5 compatible syntax, it does a limited set of transformations on function names, arguments, common patterns and more. One way to think of jscodeshift (the underlying tool) is "jQuery for code". These codemods aren't bulletproof, so be sure to test your code after you run them. But they can help with upgrading a large codebase to remove deprecation warnings you're now triggering.
3232

0 commit comments

Comments
 (0)