mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 08:58:15 +08:00
Correct links
This commit is contained in:
@@ -203,7 +203,7 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
|
||||
## Supported Browsers
|
||||
|
||||
By default, the generated project supports all modern browsers.<br>
|
||||
Support for Internet Explorer 9, 10, and 11 requires [polyfills](https://github.com/facebook/create-react-app/blob/next/packages/react-app-polyfill/README.md).
|
||||
Support for Internet Explorer 9, 10, and 11 requires [polyfills](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md).
|
||||
|
||||
### Supported Language Features
|
||||
|
||||
@@ -221,9 +221,9 @@ Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#pr
|
||||
|
||||
While we recommend using experimental proposals with some caution, Facebook heavily uses these features in the product code, so we intend to provide [codemods](https://medium.com/@cpojer/effective-javascript-codemods-5a6686bb46fb) if any of these proposals change in the future.
|
||||
|
||||
Note that **this project includes no [polyfills](https://github.com/facebook/create-react-app/blob/next/packages/react-app-polyfill/README.md)** by default.
|
||||
Note that **this project includes no [polyfills](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md)** by default.
|
||||
|
||||
If you use any other ES6+ features that need **runtime support** (such as `Array.from()` or `Symbol`), make sure you are [including the appropriate polyfills manually](https://github.com/facebook/create-react-app/blob/next/packages/react-app-polyfill/README.md), or that the browsers you are targeting already support them.
|
||||
If you use any other ES6+ features that need **runtime support** (such as `Array.from()` or `Symbol`), make sure you are [including the appropriate polyfills manually](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md), or that the browsers you are targeting already support them.
|
||||
|
||||
## Syntax Highlighting in the Editor
|
||||
|
||||
@@ -1040,7 +1040,7 @@ The global `fetch` function allows you to easily make AJAX requests. It takes in
|
||||
A Promise represents the eventual result of an asynchronous operation, you can find more information about Promises [here](https://www.promisejs.org/) and [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Both axios and `fetch()` use Promises under the hood. You can also use the [`async / await`](https://davidwalsh.name/async-await) syntax to reduce the callback nesting.
|
||||
|
||||
Make sure the [`fetch()` API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) and [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) are available in your target audience's browsers.
|
||||
For example, support in Internet Explorer requires a [polyfill](https://github.com/facebook/create-react-app/blob/next/packages/react-app-polyfill/README.md).
|
||||
For example, support in Internet Explorer requires a [polyfill](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md).
|
||||
|
||||
You can learn more about making AJAX requests from React components in [the FAQ entry on the React website](https://reactjs.org/docs/faq-ajax.html).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user