Skip to content

Commit f90d580

Browse files
committed
chore: merge conflicts
1 parent d1f6d76 commit f90d580

File tree

2 files changed

+14
-33
lines changed

2 files changed

+14
-33
lines changed

src/components/Seo.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ function getDomain(languageCode: string): string {
3737
export const Seo = withRouter(
3838
({
3939
title,
40-
<<<<<<< HEAD
41-
description = 'La libreria per le interfacce utente web e native',
42-
=======
4340
titleForTitleTag,
44-
>>>>>>> 4bdb87b172a7723d56d03a5630c8a9870f6f03ec
4541
image = '/images/og-default.png',
4642
router,
4743
children,

src/content/learn/describing-the-ui.md

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ React è una libreria JavaScript per il rendering delle interfacce utente(UI). L
1010

1111
<YouWillLearn isChapter={true}>
1212

13-
<<<<<<< HEAD
1413
* [Come scrivere il tuo primo componente React](/learn/your-first-component)
1514
* [Quando e come creare file multi-componente](/learn/importing-and-exporting-components)
1615
* [Come aggiungere markup a JavaScript con JSX](/learn/writing-markup-with-jsx)
@@ -19,17 +18,7 @@ React è una libreria JavaScript per il rendering delle interfacce utente(UI). L
1918
* [Come rappresentare condizionalmente i componenti](/learn/conditional-rendering)
2019
* [Come renderizzare più componenti contemporaneamente](/learn/rendering-lists)
2120
* [Come evitare bug confusionari mantenendo i componenti puri](/learn/keeping-components-pure)
22-
=======
23-
* [How to write your first React component](/learn/your-first-component)
24-
* [When and how to create multi-component files](/learn/importing-and-exporting-components)
25-
* [How to add markup to JavaScript with JSX](/learn/writing-markup-with-jsx)
26-
* [How to use curly braces with JSX to access JavaScript functionality from your components](/learn/javascript-in-jsx-with-curly-braces)
27-
* [How to configure components with props](/learn/passing-props-to-a-component)
28-
* [How to conditionally render components](/learn/conditional-rendering)
29-
* [How to render multiple components at a time](/learn/rendering-lists)
30-
* [How to avoid confusing bugs by keeping components pure](/learn/keeping-components-pure)
31-
* [Why understanding your UI as trees is useful](/learn/understanding-your-ui-as-a-tree)
32-
>>>>>>> 4bdb87b172a7723d56d03a5630c8a9870f6f03ec
21+
* [Perché è utile capire che la UI è un albero](/learn/understanding-your-ui-as-a-tree)
3322

3423
</YouWillLearn>
3524

@@ -373,7 +362,7 @@ Leggi **[Rendering Condizionale](/learn/conditional-rendering)** per imparare i
373362
374363
</LearnMore>
375364
376-
## Rendering di Liste {/*rendering-lists*/}
365+
## Rendering di Liste {/*rendering-lists*/}
377366
378367
Spesso si desidera visualizzare più componenti simili da una raccolta di dati. È possibile utilizzare i metodi `filter()` e `map()` di JavaScript con React per filtrare e trasformare l'array di dati in un array di componenti.
379368

@@ -534,42 +523,38 @@ Leggi **[Mantenere i Componenti Puri](/learn/keeping-components-pure)** per impa
534523

535524
</LearnMore>
536525

537-
<<<<<<< HEAD
538-
## Qual è il Prossimo Passo? {/*whats-next*/}
539-
=======
540-
## Your UI as a tree {/*your-ui-as-a-tree*/}
526+
## La tua UI é un albero {/*your-ui-as-a-tree*/}
541527

542-
React uses trees to model the relationships between components and modules.
528+
React usa gli alberi per modellare le relazioni tra componenti e moduli.
543529

544-
A React render tree is a representation of the parent and child relationship between components.
530+
Un albero di renderizzazione di React è una rappresentazione delle relazioni padre e figlio tra i componenti.
545531

546-
<Diagram name="generic_render_tree" height={250} width={500} alt="A tree graph with five nodes, with each node representing a component. The root node is located at the top the tree graph and is labelled 'Root Component'. It has two arrows extending down to two nodes labelled 'Component A' and 'Component C'. Each of the arrows is labelled with 'renders'. 'Component A' has a single 'renders' arrow to a node labelled 'Component B'. 'Component C' has a single 'renders' arrow to a node labelled 'Component D'.">
532+
<Diagram name="generic_render_tree" height={250} width={500} alt="Un grafico albero con cinque nodi, con ogni nodo rappresentante un componente. Il nodo radice è posizionato in alto ed è chiamato 'Componente Radice'. Ha due frecce che si estendono in basso a due nodi chiamati 'Componente A' e 'Componente C'. Ognuna di queste frecce è etichettata con 'renderizza'. 'Componente A' ha una singola freccia 'renderizza' verso il nodo 'Componente B'. 'Componente C' ha una singola freccia 'renderizza' verso il nodo chiamato 'Componente D'.">
547533

548-
An example React render tree.
534+
Un esempio di albero di rendering React.
549535

550536
</Diagram>
551537

552-
Components near the top of the tree, near the root component, are considered top-level components. Components with no child components are leaf components. This categorization of components is useful for understanding data flow and rendering performance.
538+
I componenti vicino alla parte alta dell'albero, vicini al nodo radice, sono considerati componenti di alto livello. I componenti senza componenti figli sono componenti foglia. Questa categorizzazione dei componenti è utile per capire il flusso dati e le prestazioni di rendering.
553539

554-
Modelling the relationship between JavaScript modules is another useful way to understand your app. We refer to it as a module dependency tree.
540+
Modellare le rezazioni tra moduli JavaScript è un altro modo utile per capire la tua app. Ci riferiamo ad essa come un albero di dipendenze tra moduli.
555541

556-
<Diagram name="generic_dependency_tree" height={250} width={500} alt="A tree graph with five nodes. Each node represents a JavaScript module. The top-most node is labelled 'RootModule.js'. It has three arrows extending to the nodes: 'ModuleA.js', 'ModuleB.js', and 'ModuleC.js'. Each arrow is labelled as 'imports'. 'ModuleC.js' node has a single 'imports' arrow that points to a node labelled 'ModuleD.js'.">
542+
<Diagram name="generic_dependency_tree" height={250} width={500} alt="Un grafico albero con cinque nodi. Ogni nodo rappresenta un modulo JavaScript. Il nodo più in alto è chiamato 'RootModule.js'. Ha tre frecce che si estendono ai nodi: 'ModuleA.js', 'ModuleB.js', e 'ModuleC.js'. Ogni freccia è etichettata con 'importa'. Il nodo 'ModuleC.js' ha una singola freccia 'importa' che punta al nodo chiamato 'ModuleD.js'.">
557543

558-
An example module dependency tree.
544+
Un esempio di albero di dipendenze tra moduli.
559545

560546
</Diagram>
561547

562-
A dependency tree is often used by build tools to bundle all the relevant JavaScript code for the client to download and render. A large bundle size regresses user experience for React apps. Understanding the module dependency tree is helpful to debug such issues.
548+
Un albero di dipendenze è spesso usato da tools di compilazione per raggruppare tutto il codice JavaScript necessario al client da scaricare e renderizzare sotto forma di 'bundle'. Un 'bundle' di dimensioni elevate peggiora l'esperienza utente delle apps React. Capire l'albero di dipensenze tra moduli è utile per diagnosticare queste problematiche.
563549

564550
<LearnMore path="/learn/understanding-your-ui-as-a-tree">
565551

566-
Read **[Your UI as a Tree](/learn/understanding-your-ui-as-a-tree)** to learn how to create a render and module dependency trees for a React app and how they're useful mental models for improving user experience and performance.
552+
Leggi **[La tua UI è un albero](/learn/understanding-your-ui-as-a-tree)** per imparare a creare albero di renderizzazione e di dipendenza tra moduli nelle applicazioni React e come sono utili modelli mentali per migliorare l'esperienza utente e le prestazioni.
567553

568554
</LearnMore>
569555

570556

571-
## What's next? {/*whats-next*/}
572-
>>>>>>> 4bdb87b172a7723d56d03a5630c8a9870f6f03ec
557+
## Qual è il Prossimo Passo? {/*whats-next*/}
573558

574559
Vai a [Il Tuo Primo Componente](/learn/your-first-component) per iniziare a leggere questa pagina del capitolo pagina per pagina!
575560

0 commit comments

Comments
 (0)