You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The versions above are only meant for development, and are not suitable for production. Minified and optimized production versions of React are available at:
16
+
As versões acima devem ser utilizadas apenas para desenvolvimento e não são adequadas para o ambiente de produção. Versões reduzidas e otimizadas para produção estão disponíveis em:
To load a specific version of`react`and`react-dom`, replace`16`with the version number.
23
+
Para carregar uma versão específica do`react`e`react-dom`, substitua`16`com o número da versão que você deseja.
24
24
25
-
### Why the `crossorigin` Attribute? {#why-the-crossorigin-attribute}
25
+
### Por que o atributo `crossorigin`? {#why-the-crossorigin-attribute}
26
26
27
-
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:
27
+
Se você carrega o React de um CDN, recomendamos manter o atributo [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes):
28
28
29
29
```html
30
30
<scriptcrossoriginsrc="..."></script>
31
31
```
32
32
33
-
We also recommend to verify that the CDN you are using sets the `Access-Control-Allow-Origin: *` HTTP header:
33
+
Também recomendamos verificar se o CDN que você está usando define o cabeçalho HTTP `Access-Control-Allow-Origin: *`:
0 commit comments