Skip to content

Commit f46a80a

Browse files
authored
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
1 parent 0a4c7c5 commit f46a80a

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ Each of these changes will continue to work as before with a new warning until t
12181218
- Shallow renderer now returns the rendered output from `render()`. ([@simonewebdesign](https://github.com/simonewebdesign) in [#5411](https://github.com/facebook/react/pull/5411))
12191219
- 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))
12201220
- 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))
12221222
- React improves the performance for `createClass()` on complex specs. ([@sophiebits](https://github.com/sophiebits) in [#5550](https://github.com/facebook/react/pull/5550))
12231223

12241224

fixtures/attribute-behavior/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ Right now, we use a purple outline to call out cases where the assigned property
2626
---
2727

2828

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).
3030

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
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
// 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
55

66
module.exports = {
77
process() {

fixtures/flight/config/jest/fileTransform.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const path = require('path');
44
const camelcase = require('camelcase');
55

66
// 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
88

99
module.exports = {
1010
process(src, filename) {

packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe('React hooks DevTools integration', () => {
133133
});
134134

135135
// 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
137137
it('should handle interleaved stateful hooks (e.g. useState) and non-stateful hooks (e.g. useContext)', () => {
138138
const MyContext = React.createContext(1);
139139

packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ describe('ReactHooksInspectionIntegration', () => {
797797
});
798798

799799
// 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
801801
it('should properly advance the current hook for useContext', () => {
802802
const MyContext = React.createContext(1);
803803

packages/react-devtools-extensions/popups/deadcode.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
This makes its size larger, and causes React to run slower.
2525
<br />
2626
<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.
2828
</p>
2929
<hr />
3030
<p>

packages/react-devtools-extensions/popups/development.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<p>
2121
Note that the development build is not suitable for production.
2222
<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.
2424
</p>
2525
<hr />
2626
<p>

packages/react-devtools-extensions/popups/outdated.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
We recommend updating React to ensure that you receive important bugfixes and performance improvements.
2222
<br />
2323
<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>.
2525
</p>
2626
<hr />
2727
<p>

packages/react-devtools-extensions/popups/unminified.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This makes its size larger, and causes React to run slower.
2424
<br />
2525
<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.
2727
</p>
2828
<hr />
2929
<p>

packages/react-devtools/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ By default DevTools listen to port `8097` on `localhost`. If you need to customi
101101

102102
Or you could develop with a local HTTP server [like `serve`](https://www.npmjs.com/package/serve).
103103

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/).
105105

106106
**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.
107107

packages/react-test-renderer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ console.log(renderer.toJSON());
2323
// children: [ 'Facebook' ] }
2424
```
2525

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
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if (__DEV__) {
8181
) {
8282
// If document doesn't exist we know for sure we will crash in this method
8383
// 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
8585
// So we preemptively throw with a better message instead.
8686
invariant(
8787
typeof document !== 'undefined',

0 commit comments

Comments
 (0)