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: src/content/learn/add-react-to-an-existing-project.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,9 @@ Supponiamo tu abbia una web app esistente a `example.com` costruita con un'altra
20
20
21
21
Ecco come ti consigliamo di impostarla:
22
22
23
-
<<<<<<< HEAD
24
23
1.**Crea la parte React della tua app** utilizzando uno dei [framework basati su React](/learn/start-a-new-react-project).
25
-
2.**Specifica `/some-app` come *percorso di base*** nella configurazione del tuo framework (ecco come: [Next.js](https://nextjs.org/docs/api-reference/next.config.js/basepath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
24
+
2.**Specifica `/some-app` come *percorso di base*** nella configurazione del tuo framework (ecco come: [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
26
25
3.**Configura il tuo server o un proxy** in modo che tutte le richieste in `/some-app/` siano gestite dalla tua app React.
27
-
=======
28
-
1.**Build the React part of your app** using one of the [React-based frameworks](/learn/start-a-new-react-project).
29
-
2.**Specify `/some-app` as the *base path*** in your framework's configuration (here's how: [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
30
-
3.**Configure your server or a proxy** so that all requests under `/some-app/` are handled by your React app.
31
-
>>>>>>> 9000e6e003854846c4ce5027703b5ce6f81aad80
32
26
33
27
Ciò garantisce che la parte React della tua app possa [trarre vantaggio dalle best practices](/learn/start-a-new-react-project#can-i-use-react-without-a-framework) integrate in tali framework.
## Mobile (React Native) {/*mobile-react-native*/}
56
-
<<<<<<< HEAD
57
-
React Developer Tools si può anche usare per ispezionare app costruite con [React Native](https://reactnative.dev/).
58
56
59
-
Il modo più facile per usare React Developer Tools è installarlo globalmente:
60
-
```bash
61
-
# Yarn
62
-
yarn global add react-devtools
63
-
=======
64
-
65
-
To inspect apps built with [React Native](https://reactnative.dev/), you can use [React Native DevTools](https://reactnative.dev/docs/react-native-devtools), the built-in debugger that deeply integrates React Developer Tools. All features work identically to the browser extension, including native element highlighting and selection.
66
-
>>>>>>> 9000e6e003854846c4ce5027703b5ce6f81aad80
67
-
68
-
[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)
69
-
70
-
<<<<<<< HEAD
71
-
Successivamente, apri i developer tools dal terminale.
72
-
```bash
73
-
react-devtools
74
-
```
75
-
76
-
Dovrebbe connettersi ad una qualsiasi app React Native locale in esecuzione.
57
+
Per ispezionare le app create con [React Native](https://reactnative.dev/), puoi utilizzare [React Native DevTools](https://reactnative.dev/docs/react-native-devtools), il debugger integrato che si integra profondamente con React Developer Tools. Tutte le funzionalità funzionano identicamente all'estensione del browser, inclusa l'evidenziazione e la selezione degli elementi nativi.
77
58
78
-
> Prova a ricaricare l'app se developer tools non si connette dopo alcuni secondi.
59
+
[Scopri di più sul debug in React Native.](https://reactnative.dev/docs/debugging)
79
60
80
-
[Ulteriori informazioni sul debugging di React Native.](https://reactnative.dev/docs/debugging)
81
-
=======
82
-
> For versions of React Native earlier than 0.76, please use the standalone build of React DevTools by following the [Safari and other browsers](#safari-and-other-browsers) guide above.
83
-
>>>>>>> 9000e6e003854846c4ce5027703b5ce6f81aad80
61
+
> Per le versioni di React Native precedenti alla 0.76, utilizza la build standalone di React DevTools seguendo la guida [Safari e altri browser](#safari-and-other-browsers) sopra.
0 commit comments