Skip to content

Commit e932e32

Browse files
authored
facebook.github.io/react -> reactjs.org (#12545)
1 parent 5e3706c commit e932e32

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/react-reconciler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": [
66
"react"
77
],
8-
"homepage": "https://facebook.github.io/react/",
8+
"homepage": "https://reactjs.org/",
99
"bugs": "https://github.com/facebook/react/issues",
1010
"license": "MIT",
1111
"files": [

packages/shared/__tests__/reactProdInvariant-test.internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('reactProdInvariant', () => {
3939
reactProdInvariant(124, 'foo', 'bar');
4040
}).toThrowError(
4141
'Minified React error #124; visit ' +
42-
'http://facebook.github.io/react/docs/error-decoder.html?invariant=124&args[]=foo&args[]=bar' +
42+
'http://reactjs.org/docs/error-decoder.html?invariant=124&args[]=foo&args[]=bar' +
4343
' for the full message or use the non-minified dev environment' +
4444
' for full errors and additional helpful warnings.',
4545
);
@@ -48,7 +48,7 @@ describe('reactProdInvariant', () => {
4848
reactProdInvariant(20);
4949
}).toThrowError(
5050
'Minified React error #20; visit ' +
51-
'http://facebook.github.io/react/docs/error-decoder.html?invariant=20' +
51+
'http://reactjs.org/docs/error-decoder.html?invariant=20' +
5252
' for the full message or use the non-minified dev environment' +
5353
' for full errors and additional helpful warnings.',
5454
);
@@ -57,7 +57,7 @@ describe('reactProdInvariant', () => {
5757
reactProdInvariant(77, '<div>', '&?bar');
5858
}).toThrowError(
5959
'Minified React error #77; visit ' +
60-
'http://facebook.github.io/react/docs/error-decoder.html?invariant=77&args[]=%3Cdiv%3E&args[]=%26%3Fbar' +
60+
'http://reactjs.org/docs/error-decoder.html?invariant=77&args[]=%3Cdiv%3E&args[]=%26%3Fbar' +
6161
' for the full message or use the non-minified dev environment' +
6262
' for full errors and additional helpful warnings.',
6363
);

packages/shared/reactProdInvariant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function reactProdInvariant(code: string): void {
2020
'Minified React error #' +
2121
code +
2222
'; visit ' +
23-
'http://facebook.github.io/react/docs/error-decoder.html?invariant=' +
23+
'http://reactjs.org/docs/error-decoder.html?invariant=' +
2424
code;
2525

2626
for (let argIdx = 0; argIdx < argCount; argIdx++) {

scripts/error-codes/replace-invariant-error-codes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function(babel) {
6464
// that references a verbose error message.
6565
// The mapping is stored in `scripts/error-codes/codes.json`.
6666
// - `PROD_INVARIANT` is the `reactProdInvariant` function that always throws with an error URL like
67-
// http://facebook.github.io/react/docs/error-decoder.html?invariant=XYZ&args[]=foo&args[]=bar
67+
// http://reactjs.org/docs/error-decoder.html?invariant=XYZ&args[]=foo&args[]=bar
6868
//
6969
// Specifically this does 3 things:
7070
// 1. Checks the condition first, preventing an extra function call.

0 commit comments

Comments
 (0)