Skip to content

Commit

Permalink
Added option for more cdns. (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
praisedpk authored and lex111 committed Jul 13, 2019
1 parent 4af9f2d commit b84fb3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/docs/cdn-links.md
Expand Up @@ -22,6 +22,8 @@ The versions above are only meant for development, and are not suitable for prod

To load a specific version of `react` and `react-dom`, replace `16` with the version number.

Both React and ReactDOM are available on PageCDN ([React](https://pagecdn.com/lib/react), [ReactDOM](https://pagecdn.com/lib/react-dom)) and CDNJS ([React](https://cdnjs.com/libraries/react), [ReactDOM](https://cdnjs.com/libraries/react-dom)).

### Why the `crossorigin` Attribute? {#why-the-crossorigin-attribute}

If you serve React from a CDN, we recommend to keep the [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute set:
Expand Down

0 comments on commit b84fb3d

Please sign in to comment.