From f802736952b2c8886f205ed3483cf3897a39159e Mon Sep 17 00:00:00 2001
From: dzmitry
Date: Sun, 25 Oct 2020 14:28:59 +0300
Subject: [PATCH] Revert "Update outdated links and fix two broken links
(#19985)"
This reverts commit f46a80ae11ce606e5dc148f9399bef7c60a755a2.
---
CHANGELOG.md | 2 +-
fixtures/attribute-behavior/README.md | 4 ++--
fixtures/flight/config/jest/cssTransform.js | 2 +-
fixtures/flight/config/jest/fileTransform.js | 2 +-
.../src/__tests__/ReactDevToolsHooksIntegration-test.js | 2 +-
.../src/__tests__/ReactHooksInspectionIntegration-test.js | 2 +-
packages/react-devtools-extensions/popups/deadcode.html | 2 +-
packages/react-devtools-extensions/popups/development.html | 2 +-
packages/react-devtools-extensions/popups/outdated.html | 2 +-
packages/react-devtools-extensions/popups/unminified.html | 2 +-
packages/react-devtools/README.md | 2 +-
packages/react-test-renderer/README.md | 2 +-
packages/shared/invokeGuardedCallbackImpl.js | 2 +-
13 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7882adf318b7a..2a3c50fa6f839 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1218,7 +1218,7 @@ Each of these changes will continue to work as before with a new warning until t
- Shallow renderer now returns the rendered output from `render()`. ([@simonewebdesign](https://github.com/simonewebdesign) in [#5411](https://github.com/facebook/react/pull/5411))
- React no longer depends on ES5 *shams* for `Object.create` and `Object.freeze` in older environments. It still, however, requires ES5 *shims* in those environments. ([@dgreensp](https://github.com/dgreensp) in [#4959](https://github.com/facebook/react/pull/4959))
- React DOM now allows `data-` attributes with names that start with numbers. ([@nLight](https://github.com/nLight) in [#5216](https://github.com/facebook/react/pull/5216))
-- React DOM adds a new `suppressContentEditableWarning` prop for components like [Draft.js](https://draftjs.org/) that intentionally manage `contentEditable` children with React. ([@mxstbr](https://github.com/mxstbr) in [#6112](https://github.com/facebook/react/pull/6112))
+- React DOM adds a new `suppressContentEditableWarning` prop for components like [Draft.js](https://facebook.github.io/draft-js/) that intentionally manage `contentEditable` children with React. ([@mxstbr](https://github.com/mxstbr) in [#6112](https://github.com/facebook/react/pull/6112))
- React improves the performance for `createClass()` on complex specs. ([@sophiebits](https://github.com/sophiebits) in [#5550](https://github.com/facebook/react/pull/5550))
diff --git a/fixtures/attribute-behavior/README.md b/fixtures/attribute-behavior/README.md
index fbf2acfb5230e..d14c5e55cdbd5 100644
--- a/fixtures/attribute-behavior/README.md
+++ b/fixtures/attribute-behavior/README.md
@@ -26,6 +26,6 @@ Right now, we use a purple outline to call out cases where the assigned property
---
-This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
+This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
-You can find the guide for how to do things in a CRA [here](https://github.com/facebook/create-react-app/blob/master/packages/cra-template/template/README.md).
+You can find the guide for how to do things in a CRA [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
diff --git a/fixtures/flight/config/jest/cssTransform.js b/fixtures/flight/config/jest/cssTransform.js
index 35fe644d7e034..8f65114812a4e 100644
--- a/fixtures/flight/config/jest/cssTransform.js
+++ b/fixtures/flight/config/jest/cssTransform.js
@@ -1,7 +1,7 @@
'use strict';
// This is a custom Jest transformer turning style imports into empty objects.
-// https://jestjs.io/docs/en/webpack.html
+// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process() {
diff --git a/fixtures/flight/config/jest/fileTransform.js b/fixtures/flight/config/jest/fileTransform.js
index 3ce5e04c6e436..aab67618c38b4 100644
--- a/fixtures/flight/config/jest/fileTransform.js
+++ b/fixtures/flight/config/jest/fileTransform.js
@@ -4,7 +4,7 @@ const path = require('path');
const camelcase = require('camelcase');
// This is a custom Jest transformer turning file imports into filenames.
-// https://jestjs.io/docs/en/webpack.html
+// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process(src, filename) {
diff --git a/packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js b/packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js
index 6f9cf52787e13..71587ef89d257 100644
--- a/packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js
+++ b/packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js
@@ -133,7 +133,7 @@ describe('React hooks DevTools integration', () => {
});
// This test case is based on an open source bug report:
- // https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
+ // facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
it('should handle interleaved stateful hooks (e.g. useState) and non-stateful hooks (e.g. useContext)', () => {
const MyContext = React.createContext(1);
diff --git a/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js b/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js
index 29ce46b5545a9..4dfe0bac0b1f1 100644
--- a/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js
+++ b/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js
@@ -797,7 +797,7 @@ describe('ReactHooksInspectionIntegration', () => {
});
// This test case is based on an open source bug report:
- // https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
+ // facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
it('should properly advance the current hook for useContext', () => {
const MyContext = React.createContext(1);
diff --git a/packages/react-devtools-extensions/popups/deadcode.html b/packages/react-devtools-extensions/popups/deadcode.html
index 4073f80bde204..cdd4c278e86cc 100644
--- a/packages/react-devtools-extensions/popups/deadcode.html
+++ b/packages/react-devtools-extensions/popups/deadcode.html
@@ -24,7 +24,7 @@
This makes its size larger, and causes React to run slower.
- Make sure to set up dead code elimination before deployment.
+ Make sure to set up dead code elimination before deployment.
diff --git a/packages/react-devtools-extensions/popups/development.html b/packages/react-devtools-extensions/popups/development.html
index 5d537ed37c671..3d092a5eb69f8 100644
--- a/packages/react-devtools-extensions/popups/development.html
+++ b/packages/react-devtools-extensions/popups/development.html
@@ -20,7 +20,7 @@
Note that the development build is not suitable for production.
- Make sure to use the production build before deployment.
+ Make sure to use the production build before deployment.
diff --git a/packages/react-devtools-extensions/popups/outdated.html b/packages/react-devtools-extensions/popups/outdated.html
index 53484658b046a..8f3f3f9508766 100644
--- a/packages/react-devtools-extensions/popups/outdated.html
+++ b/packages/react-devtools-extensions/popups/outdated.html
@@ -21,7 +21,7 @@
We recommend updating React to ensure that you receive important bugfixes and performance improvements.
- You can find the upgrade instructions on the React blog.
+ You can find the upgrade instructions on the React blog.
diff --git a/packages/react-devtools-extensions/popups/unminified.html b/packages/react-devtools-extensions/popups/unminified.html
index b61fb78519b2d..c53885f5098c3 100644
--- a/packages/react-devtools-extensions/popups/unminified.html
+++ b/packages/react-devtools-extensions/popups/unminified.html
@@ -23,7 +23,7 @@
This makes its size larger, and causes React to run slower.
- Make sure to set up minification before deployment.
+ Make sure to set up minification before deployment.
diff --git a/packages/react-devtools/README.md b/packages/react-devtools/README.md
index 2551416b970d3..afb8749d5aca8 100644
--- a/packages/react-devtools/README.md
+++ b/packages/react-devtools/README.md
@@ -101,7 +101,7 @@ By default DevTools listen to port `8097` on `localhost`. If you need to customi
Or you could develop with a local HTTP server [like `serve`](https://www.npmjs.com/package/serve).
-**The React tab won't show up if the site doesn't use React**, or if React can't communicate with the devtools. When the page loads, the devtools sets a global named `__REACT_DEVTOOLS_GLOBAL_HOOK__`, then React communicates with that hook during initialization. You can test this on the [React website](https://reactjs.org/) or by inspecting [Facebook](https://www.facebook.com/).
+**The React tab won't show up if the site doesn't use React**, or if React can't communicate with the devtools. When the page loads, the devtools sets a global named `__REACT_DEVTOOLS_GLOBAL_HOOK__`, then React communicates with that hook during initialization. You can test this on the [React website](http://facebook.github.io/react/) or by inspecting [Facebook](https://www.facebook.com/).
**If your app is inside of CodePen**, make sure you are registered. Then press Fork (if it's not your pen), and then choose Change View > Debug. The Debug view is inspectable with DevTools because it doesn't use an iframe.
diff --git a/packages/react-test-renderer/README.md b/packages/react-test-renderer/README.md
index 70e37778d3a32..5ce816cbc740c 100644
--- a/packages/react-test-renderer/README.md
+++ b/packages/react-test-renderer/README.md
@@ -23,4 +23,4 @@ console.log(renderer.toJSON());
// children: [ 'Facebook' ] }
```
-You can also use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: https://jestjs.io/blog/2016/07/27/jest-14.html.
+You can also use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: https://facebook.github.io/jest/blog/2016/07/27/jest-14.html.
diff --git a/packages/shared/invokeGuardedCallbackImpl.js b/packages/shared/invokeGuardedCallbackImpl.js
index 215a8ae91c513..e7a1ba398a24e 100644
--- a/packages/shared/invokeGuardedCallbackImpl.js
+++ b/packages/shared/invokeGuardedCallbackImpl.js
@@ -81,7 +81,7 @@ if (__DEV__) {
) {
// If document doesn't exist we know for sure we will crash in this method
// when we call document.createEvent(). However this can cause confusing
- // errors: https://github.com/facebook/create-react-app/issues/3482
+ // errors: https://github.com/facebookincubator/create-react-app/issues/3482
// So we preemptively throw with a better message instead.
invariant(
typeof document !== 'undefined',