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
@@ -32,17 +32,17 @@ export default function PackingList() {
32
32
<section>
33
33
<h1>Sally Ride's Packing List</h1>
34
34
<ul>
35
-
<Item
36
-
isPacked={true}
37
-
name="Space suit"
35
+
<Item
36
+
isPacked={true}
37
+
name="Space suit"
38
38
/>
39
-
<Item
40
-
isPacked={true}
41
-
name="Helmet with a golden leaf"
39
+
<Item
40
+
isPacked={true}
41
+
name="Helmet with a golden leaf"
42
42
/>
43
-
<Item
44
-
isPacked={false}
45
-
name="Photo of Tam"
43
+
<Item
44
+
isPacked={false}
45
+
name="Photo of Tam"
46
46
/>
47
47
</ul>
48
48
</section>
@@ -80,17 +80,17 @@ export default function PackingList() {
80
80
<section>
81
81
<h1>Sally Ride's Packing List</h1>
82
82
<ul>
83
-
<Item
84
-
isPacked={true}
85
-
name="Space suit"
83
+
<Item
84
+
isPacked={true}
85
+
name="Space suit"
86
86
/>
87
-
<Item
88
-
isPacked={true}
89
-
name="Helmet with a golden leaf"
87
+
<Item
88
+
isPacked={true}
89
+
name="Helmet with a golden leaf"
90
90
/>
91
-
<Item
92
-
isPacked={false}
93
-
name="Photo of Tam"
91
+
<Item
92
+
isPacked={false}
93
+
name="Photo of Tam"
94
94
/>
95
95
</ul>
96
96
</section>
@@ -132,17 +132,17 @@ export default function PackingList() {
132
132
<section>
133
133
<h1>Sally Ride's Packing List</h1>
134
134
<ul>
135
-
<Item
136
-
isPacked={true}
137
-
name="Space suit"
135
+
<Item
136
+
isPacked={true}
137
+
name="Space suit"
138
138
/>
139
-
<Item
140
-
isPacked={true}
141
-
name="Helmet with a golden leaf"
139
+
<Item
140
+
isPacked={true}
141
+
name="Helmet with a golden leaf"
142
142
/>
143
-
<Item
144
-
isPacked={false}
145
-
name="Photo of Tam"
143
+
<Item
144
+
isPacked={false}
145
+
name="Photo of Tam"
146
146
/>
147
147
</ul>
148
148
</section>
@@ -236,17 +236,17 @@ export default function PackingList() {
236
236
<section>
237
237
<h1>Sally Ride's Packing List</h1>
238
238
<ul>
239
-
<Item
240
-
isPacked={true}
241
-
name="Space suit"
239
+
<Item
240
+
isPacked={true}
241
+
name="Space suit"
242
242
/>
243
-
<Item
244
-
isPacked={true}
245
-
name="Helmet with a golden leaf"
243
+
<Item
244
+
isPacked={true}
245
+
name="Helmet with a golden leaf"
246
246
/>
247
-
<Item
248
-
isPacked={false}
249
-
name="Photo of Tam"
247
+
<Item
248
+
isPacked={false}
249
+
name="Photo of Tam"
250
250
/>
251
251
</ul>
252
252
</section>
@@ -291,17 +291,17 @@ export default function PackingList() {
291
291
<section>
292
292
<h1>Sally Ride's Packing List</h1>
293
293
<ul>
294
-
<Item
295
-
isPacked={true}
296
-
name="Space suit"
294
+
<Item
295
+
isPacked={true}
296
+
name="Space suit"
297
297
/>
298
-
<Item
299
-
isPacked={true}
300
-
name="Helmet with a golden leaf"
298
+
<Item
299
+
isPacked={true}
300
+
name="Helmet with a golden leaf"
301
301
/>
302
-
<Item
303
-
isPacked={false}
304
-
name="Photo of Tam"
302
+
<Item
303
+
isPacked={false}
304
+
name="Photo of Tam"
305
305
/>
306
306
</ul>
307
307
</section>
@@ -371,17 +371,17 @@ export default function PackingList() {
371
371
<section>
372
372
<h1>Sally Ride's Packing List</h1>
373
373
<ul>
374
-
<Item
375
-
isPacked={true}
376
-
name="Space suit"
374
+
<Item
375
+
isPacked={true}
376
+
name="Space suit"
377
377
/>
378
-
<Item
379
-
isPacked={true}
380
-
name="Helmet with a golden leaf"
378
+
<Item
379
+
isPacked={true}
380
+
name="Helmet with a golden leaf"
381
381
/>
382
-
<Item
383
-
isPacked={false}
384
-
name="Photo of Tam"
382
+
<Item
383
+
isPacked={false}
384
+
name="Photo of Tam"
385
385
/>
386
386
</ul>
387
387
</section>
@@ -417,17 +417,17 @@ export default function PackingList() {
417
417
<section>
418
418
<h1>Sally Ride's Packing List</h1>
419
419
<ul>
420
-
<Item
421
-
isPacked={true}
422
-
name="Space suit"
420
+
<Item
421
+
isPacked={true}
422
+
name="Space suit"
423
423
/>
424
-
<Item
425
-
isPacked={true}
426
-
name="Helmet with a golden leaf"
424
+
<Item
425
+
isPacked={true}
426
+
name="Helmet with a golden leaf"
427
427
/>
428
-
<Item
429
-
isPacked={false}
430
-
name="Photo of Tam"
428
+
<Item
429
+
isPacked={false}
430
+
name="Photo of Tam"
431
431
/>
432
432
</ul>
433
433
</section>
@@ -474,17 +474,17 @@ export default function PackingList() {
474
474
<section>
475
475
<h1>Sally Ride's Packing List</h1>
476
476
<ul>
477
-
<Item
478
-
isPacked={true}
479
-
name="Space suit"
477
+
<Item
478
+
isPacked={true}
479
+
name="Space suit"
480
480
/>
481
-
<Item
482
-
isPacked={true}
483
-
name="Helmet with a golden leaf"
481
+
<Item
482
+
isPacked={true}
483
+
name="Helmet with a golden leaf"
484
484
/>
485
-
<Item
486
-
isPacked={false}
487
-
name="Photo of Tam"
485
+
<Item
486
+
isPacked={false}
487
+
name="Photo of Tam"
488
488
/>
489
489
</ul>
490
490
</section>
@@ -512,17 +512,17 @@ export default function PackingList() {
512
512
<section>
513
513
<h1>Sally Ride's Packing List</h1>
514
514
<ul>
515
-
<Item
516
-
isPacked={true}
517
-
name="Space suit"
515
+
<Item
516
+
isPacked={true}
517
+
name="Space suit"
518
518
/>
519
-
<Item
520
-
isPacked={true}
521
-
name="Helmet with a golden leaf"
519
+
<Item
520
+
isPacked={true}
521
+
name="Helmet with a golden leaf"
522
522
/>
523
-
<Item
524
-
isPacked={false}
525
-
name="Photo of Tam"
523
+
<Item
524
+
isPacked={false}
525
+
name="Photo of Tam"
526
526
/>
527
527
</ul>
528
528
</section>
@@ -560,17 +560,17 @@ export default function PackingList() {
560
560
<section>
561
561
<h1>Sally Ride's Packing List</h1>
562
562
<ul>
563
-
<Item
564
-
importance={9}
565
-
name="Space suit"
563
+
<Item
564
+
importance={9}
565
+
name="Space suit"
566
566
/>
567
-
<Item
568
-
importance={0}
569
-
name="Helmet with a golden leaf"
567
+
<Item
568
+
importance={0}
569
+
name="Helmet with a golden leaf"
570
570
/>
571
-
<Item
572
-
importance={6}
573
-
name="Photo of Tam"
571
+
<Item
572
+
importance={6}
573
+
name="Photo of Tam"
574
574
/>
575
575
</ul>
576
576
</section>
@@ -604,17 +604,17 @@ export default function PackingList() {
604
604
<section>
605
605
<h1>Sally Ride's Packing List</h1>
606
606
<ul>
607
-
<Item
608
-
importance={9}
609
-
name="Space suit"
607
+
<Item
608
+
importance={9}
609
+
name="Space suit"
610
610
/>
611
-
<Item
612
-
importance={0}
613
-
name="Helmet with a golden leaf"
611
+
<Item
612
+
importance={0}
613
+
name="Helmet with a golden leaf"
614
614
/>
615
-
<Item
616
-
importance={6}
617
-
name="Photo of Tam"
615
+
<Item
616
+
importance={6}
617
+
name="Photo of Tam"
618
618
/>
619
619
</ul>
620
620
</section>
@@ -626,11 +626,7 @@ export default function PackingList() {
626
626
627
627
Tieni presente che dovrai scrivere `importance > 0 && ...` invece di `importance && ...` in modo che se `importance` è `0`, `0` non venga renderizzato come risultato!
628
628
629
-
<<<<<<< HEAD
630
-
In questa soluzione, vengono utilizzate due condizioni separate per inserire uno spazio tra il nome e l'etichetta di importanza. In alternativa, potresti utilizzare un frammento con uno spazio iniziale:`importance > 0 && <> <i>...</i></>` oppure aggiungere uno spazio immediatamente all'interno del tag `<i>`: `importance > 0 && <i> ...</i>`.
631
-
=======
632
-
In this solution, two separate conditions are used to insert a space between the name and the importance label. Alternatively, you could use a Fragment with a leading space: `importance > 0 && <> <i>...</i></>` or add a space immediately inside the `<i>`: `importance > 0 && <i> ...</i>`.
633
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
629
+
In questa soluzione, vengono utilizzate due condizioni separate per inserire uno spazio tra il nome e l'etichetta di importanza. In alternativa, potresti utilizzare un Fragment con uno spazio iniziale:`importance > 0 && <> <i>...</i></>` oppure aggiungere uno spazio immediatamente all'interno del tag `<i>`: `importance > 0 && <i> ...</i>`.
Copy file name to clipboardExpand all lines: src/content/learn/rendering-lists.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1146,11 +1146,7 @@ hr {
1146
1146
1147
1147
<Hint>
1148
1148
1149
-
<<<<<<< HEAD
1150
-
Dovrai convertire `map` in un loop manuale o utilizzare un frammento.
1151
-
=======
1152
-
You'll either need to convert `map` to a manual loop, or use a Fragment.
1153
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
1149
+
Dovrai convertire `map` in un loop manuale o utilizzare un Fragment.
1154
1150
1155
1151
</Hint>
1156
1152
@@ -1213,11 +1209,7 @@ hr {
1213
1209
1214
1210
Se usi l'indice originale come `key` non funziona più perché ogni separatore e paragrafo sono ora nello stesso array. Tuttavia, puoi dare a ciascuno di essi una key distinta usando un suffisso, ad esempio `key={i + '-text'}`.
1215
1211
1216
-
<<<<<<< HEAD
1217
-
In alternativa, potresti renderizzare una collezione di fragments che contengono `<hr />` e `<p>...</p>`. Tuttavia, la sintassi abbreviata `<>...</>` non supporta il passaggio di key, quindi dovresti scrivere `<Fragment>` esplicitamente:
1218
-
=======
1219
-
Alternatively, you could render a collection of Fragments which contain `<hr />` and `<p>...</p>`. However, the `<>...</>` shorthand syntax doesn't support passing keys, so you'd have to write `<Fragment>` explicitly:
1220
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
1212
+
In alternativa, potresti renderizzare una collezione di Fragments che contengono `<hr />` e `<p>...</p>`. Tuttavia, la sintassi abbreviata `<>...</>` non supporta il passaggio di key, quindi dovresti scrivere `<Fragment>` esplicitamente:
1221
1213
1222
1214
<Sandpack>
1223
1215
@@ -1263,11 +1255,7 @@ hr {
1263
1255
1264
1256
</Sandpack>
1265
1257
1266
-
<<<<<<< HEAD
1267
-
Ricorda, i fragment (spesso scritti come `<>...</>`) ti consentono di raggruppare i nodi JSX senza aggiungere extra `<div>`!
1268
-
=======
1269
-
Remember, Fragments (often written as `<> </>`) let you group JSX nodes without adding extra `<div>`s!
1270
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
1258
+
Ricorda, i Fragments (spesso scritti come `<>...</>`) ti consentono di raggruppare i nodi JSX senza aggiungere extra `<div>`!
Copy file name to clipboardExpand all lines: src/content/learn/start-a-new-react-project.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,7 @@ Se vuoi costruire una nuova app o un nuovo sito web interamente con React, ti co
24
24
npx create-next-app@latest
25
25
</TerminalBlock>
26
26
27
-
<<<<<<< HEAD
28
-
Se sei nuovo in Next.js, dai un'occhiata al [tutorial di Next.js.](https://nextjs.org/learn/foundations/about-nextjs)
29
-
=======
30
-
If you're new to Next.js, check out the [learn Next.js course.](https://nextjs.org/learn)
31
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
27
+
Se sei nuovo in Next.js, dai un'occhiata al [corso per imparare Next.js.](https://nextjs.org/learn)
32
28
33
29
Next.js è mantenuto da [Vercel](https://vercel.com/). Puoi [distribuire un'app Next.js](https://nextjs.org/docs/app/building-your-application/deploying) su qualsiasi hosting Node.js o serverless, o sul tuo server personale. [Le app Next.js completamente statiche](https://nextjs.org/docs/advanced-features/static-html-export) possono essere distribuite su qualsiasi hosting statico.
Copy file name to clipboardExpand all lines: src/content/learn/tutorial-tic-tac-toe.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -366,11 +366,7 @@ Otterrai questo errore:
366
366
367
367
</ConsoleBlock>
368
368
369
-
<<<<<<< HEAD
370
-
I componenti React devono restituire un singolo elemento JSX e non multipli elementi JSX adiacenti come due pulsanti. Per risolvere questo problema puoi usare i *fragments* (`<>` e `</>`) per avvolgere più elementi JSX adiacenti in questo modo:
371
-
=======
372
-
React components need to return a single JSX element and not multiple adjacent JSX elements like two buttons. To fix this you can use *Fragments* (`<>` and `</>`) to wrap multiple adjacent JSX elements like this:
373
-
>>>>>>> af54fc873819892f6050340df236f33a18ba5fb8
369
+
I componenti React devono restituire un singolo elemento JSX e non multipli elementi JSX adiacenti come due pulsanti. Per risolvere questo problema puoi usare i *Fragments* (`<>` e `</>`) per avvolgere più elementi JSX adiacenti in questo modo:
0 commit comments