@samitouri / QOS-React-2 / commits / f46a80ae11

Update outdated links and fix two broken links (#19985)

* update all facebook.github.io links * facebookincubator links : update some outdated links and fix two other broken links where they are actually the latest updated ones

Saikat Guha committed Oct 9, 2020 at 07:26 UTC f46a80ae11ce606e5dc148f9399bef7c60a755a2
13 files changed +14 -14
CHANGELOG.md
+1 -1
@@ -1218,7 +1218,7 @@ Each of these changes will continue to work as before with a new warning until t
1218 - Shallow renderer now returns the rendered output from `render()`. ([@simonewebdesign](https://github.com/simonewebdesign) in [#5411](https://github.com/facebook/react/pull/5411))
1219 - 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))
1220 - 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))
1221 -- 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))
1221 +- 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))
1222 - React improves the performance for `createClass()` on complex specs. ([@sophiebits](https://github.com/sophiebits) in [#5550](https://github.com/facebook/react/pull/5550))
1223
1224
fixtures/attribute-behavior/README.md
+2 -2
@@ -26,6 +26,6 @@ Right now, we use a purple outline to call out cases where the assigned property
26 ---
27
28
29 -This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
29 +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
30
31 -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).
31 +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).
fixtures/flight/config/jest/cssTransform.js
+1 -1
@@ -1,7 +1,7 @@
1 'use strict';
2
3 // This is a custom Jest transformer turning style imports into empty objects.
4 -// http://facebook.github.io/jest/docs/en/webpack.html
4 +// https://jestjs.io/docs/en/webpack.html
5
6 module.exports = {
7 process() {
fixtures/flight/config/jest/fileTransform.js
+1 -1
@@ -4,7 +4,7 @@ const path = require('path');
4 const camelcase = require('camelcase');
5
6 // This is a custom Jest transformer turning file imports into filenames.
7 -// http://facebook.github.io/jest/docs/en/webpack.html
7 +// https://jestjs.io/docs/en/webpack.html
8
9 module.exports = {
10 process(src, filename) {
packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js
+1 -1
@@ -133,7 +133,7 @@ describe('React hooks DevTools integration', () => {
133 });
134
135 // This test case is based on an open source bug report:
136 - // facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
136 + // https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
137 it('should handle interleaved stateful hooks (e.g. useState) and non-stateful hooks (e.g. useContext)', () => {
138 const MyContext = React.createContext(1);
139
packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js
+1 -1
@@ -797,7 +797,7 @@ describe('ReactHooksInspectionIntegration', () => {
797 });
798
799 // This test case is based on an open source bug report:
800 - // facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
800 + // https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
801 it('should properly advance the current hook for useContext', () => {
802 const MyContext = React.createContext(1);
803
packages/react-devtools-extensions/popups/deadcode.html
+1 -1
@@ -24,7 +24,7 @@
24 This makes its size larger, and causes React to run slower.
25 <br />
26 <br />
27 - Make sure to <a href="https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build">set up dead code elimination</a> before deployment.
27 + Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">set up dead code elimination</a> before deployment.
28 </p>
29 <hr />
30 <p>
packages/react-devtools-extensions/popups/development.html
+1 -1
@@ -20,7 +20,7 @@
20 <p>
21 Note that the development build is not suitable for production.
22 <br />
23 - Make sure to <a href="https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build">use the production build</a> before deployment.
23 + Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">use the production build</a> before deployment.
24 </p>
25 <hr />
26 <p>
packages/react-devtools-extensions/popups/outdated.html
+1 -1
@@ -21,7 +21,7 @@
21 We recommend updating React to ensure that you receive important bugfixes and performance improvements.
22 <br />
23 <br />
24 - You can find the upgrade instructions on the <a href="https://facebook.github.io/react/blog/">React blog</a>.
24 + You can find the upgrade instructions on the <a href="https://reactjs.org/blog/">React blog</a>.
25 </p>
26 <hr />
27 <p>
packages/react-devtools-extensions/popups/unminified.html
+1 -1
@@ -23,7 +23,7 @@
23 This makes its size larger, and causes React to run slower.
24 <br />
25 <br />
26 - Make sure to <a href="https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build">set up minification</a> before deployment.
26 + Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">set up minification</a> before deployment.
27 </p>
28 <hr />
29 <p>
packages/react-devtools/README.md
+1 -1
@@ -101,7 +101,7 @@ By default DevTools listen to port `8097` on `localhost`. If you need to customi
101
102 Or you could develop with a local HTTP server [like `serve`](https://www.npmjs.com/package/serve).
103
104 -**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/).
104 +**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/).
105
106 **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.
107
packages/react-test-renderer/README.md
+1 -1
@@ -23,4 +23,4 @@ console.log(renderer.toJSON());
23 // children: [ 'Facebook' ] }
24 ```
25
26 -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.
26 +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.
packages/shared/invokeGuardedCallbackImpl.js
+1 -1
@@ -81,7 +81,7 @@ if (__DEV__) {
81 ) {
82 // If document doesn't exist we know for sure we will crash in this method
83 // when we call document.createEvent(). However this can cause confusing
84 - // errors: https://github.com/facebookincubator/create-react-app/issues/3482
84 + // errors: https://github.com/facebook/create-react-app/issues/3482
85 // So we preemptively throw with a better message instead.
86 invariant(
87 typeof document !== 'undefined',