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
Copy file name to clipboardExpand all lines: content/docs/add-react-to-a-website.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,18 @@ prev: getting-started.html
8
8
next: create-a-new-react-app.html
9
9
---
10
10
11
-
Use as little or as much React as you need.
11
+
Utilizza React quel poco o quel tanto che ti basta.
12
12
13
-
React has been designed from the start for gradual adoption, and**you can use as little or as much React as you need**. Perhaps you only want to add some "sprinkles of interactivity" to an existing page. React components are a great way to do that.
13
+
React è stato progettato fin dall'inizio per essere adottato gradualmente, e**puoi utilizzarlo quel poco o quel tanto che ti basta**. Forse devi solamente aggiungere un "pizzico di interattività" a una pagina esistente. I componenti React sono un ottimo modo per farlo.
14
14
15
-
The majority of websites aren't, and don't need to be, single-page apps. With **a few lines of code and no build tooling**, try React in a small part of your website. You can then either gradually expand its presence, or keep it contained to a few dynamic widgets.
15
+
La maggior parte dei siti non sono applicazioni single-page e non hanno bisogno di esserlo. Prova ad utilizzare React in una piccola parte del tuo sito, con **poche righe di codice e nessuno strumento di build**. In seguito, puoi espandere gradualmente la sua presenza, oppure lo puoi mantenere confinato ad alcuni widget dinamici.
16
16
17
17
---
18
18
19
-
-[Add React in One Minute](#add-react-in-one-minute)
20
-
-[Optional: Try React with JSX](#optional-try-react-with-jsx) (no bundler necessary!)
19
+
-[Aggiungi React in Un Minuto](#add-react-in-one-minute)
20
+
-[Opzionale: Prova React con JSX](#optional-try-react-with-jsx) (non è necessario alcun bundler!)
21
21
22
-
## Add React in One Minute {#add-react-in-one-minute}
22
+
## Aggiungi React in Un Minuto {#add-react-in-one-minute}
23
23
24
24
In this section, we will show how to add a React component to an existing HTML page. You can follow along with your own website, or create an empty HTML file to practice.
25
25
@@ -121,7 +121,7 @@ If you already minify the application scripts, **your site will be production-re
121
121
122
122
If you don't have a minification step for your scripts, [here's one way to set it up](https://gist.github.com/gaearon/42a2ffa41b8319948f9be4076286e1f3).
123
123
124
-
## Optional: Try React with JSX {#optional-try-react-with-jsx}
124
+
## Opzionale: Prova React con JSX {#optional-try-react-with-jsx}
125
125
126
126
In the examples above, we only relied on features that are natively supported by the browsers. This is why we used a JavaScript function call to tell React what to display:
0 commit comments