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/adding-interactivity.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,11 +265,7 @@ setCount(count + 1); // Richiedi un re-render con 1
265
265
console.log(count); // Ancora 0!
266
266
```
267
267
268
-
<<<<<<< HEAD
269
268
Questo comportamento aiuta a evitare bug difficili da individuare. Ecco una piccola app di messaggistica. Prova a indovinare cosa succede se premi "Send" e *poi* selezioni il destinatario Bob. Quale nome apparirà nell'`alert` cinque secondi dopo?
270
-
=======
271
-
This behavior helps you avoid subtle bugs. Here is a little chat app. Try to guess what happens if you press "Send" first and *then* change the recipient to Bob. Whose name will appear in the `alert` five seconds later?
Copy file name to clipboardExpand all lines: src/content/learn/conditional-rendering.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,7 @@ export default function PackingList() {
52
52
53
53
</Sandpack>
54
54
55
-
<<<<<<< HEAD
56
-
Nota che alcuni componenti `Item` hanno la loro prop `isPacked` settata a `true` invece che `false`. Vuoi aggiungere un segno di spunta (✔) agli elementi imballati se `isPacked={true}`.
57
-
=======
58
-
Notice that some of the `Item` components have their `isPacked` prop set to `true` instead of `false`. You want to add a checkmark (✅) to packed items if `isPacked={true}`.
59
-
>>>>>>> 0f2284ddc8dcab8bbb9b42c04f3c7af94b5b2e73
55
+
Nota che alcuni componenti `Item` hanno la loro prop `isPacked` settata a `true` invece che `false`. Vuoi aggiungere un segno di spunta (✅) agli elementi imballati se `isPacked={true}`.
60
56
61
57
Puoi scrivere questo come un'[istruzione `if`/`else`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else) in questo modo:
62
58
@@ -206,11 +202,7 @@ return (
206
202
);
207
203
```
208
204
209
-
<<<<<<< HEAD
210
-
Puoi leggerlo come *"se `isPacked` è true, allora (`?`) renderizza `name + ' ✔'`, altrimenti (`:`) renderizza `name`"*.
211
-
=======
212
-
You can read it as *"if `isPacked` is true, then (`?`) render `name + ' ✅'`, otherwise (`:`) render `name`"*.
213
-
>>>>>>> 0f2284ddc8dcab8bbb9b42c04f3c7af94b5b2e73
205
+
Puoi leggerlo come *"se `isPacked` è true, allora (`?`) renderizza `name + ' ✅'`, altrimenti (`:`) renderizza `name`"*.
0 commit comments