Skip to content

Commit 0de3909

Browse files
merging all conflicts
2 parents 3bc684c + f5fa1e8 commit 0de3909

55 files changed

Lines changed: 1449 additions & 290 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/components/MDX/TeamMember.tsx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function GroupBadges({group}: {group: string}) {
6868
);
6969
}
7070

71-
// TODO: good alt text for images/links
71+
// TODO: good alt text for images
7272
export function TeamMember({
7373
name,
7474
title,
@@ -113,7 +113,7 @@ export function TeamMember({
113113
aria-label={`${name} on Twitter`}
114114
href={`https://twitter.com/${twitter}`}
115115
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
116-
<IconTwitter className="pe-1" />
116+
<IconTwitter className="pe-1" aria-hidden="true" />
117117
{twitter}
118118
</ExternalLink>
119119
</div>
@@ -124,7 +124,7 @@ export function TeamMember({
124124
aria-label={`${name} on Threads`}
125125
href={`https://threads.net/${threads}`}
126126
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
127-
<IconThreads className="pe-1" />
127+
<IconThreads className="pe-1" aria-hidden="true" />
128128
{threads}
129129
</ExternalLink>
130130
</div>
@@ -135,27 +135,27 @@ export function TeamMember({
135135
aria-label={`${name} on Bluesky`}
136136
href={`https://bsky.app/profile/${bsky}`}
137137
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
138-
<IconBsky className="pe-1" />
138+
<IconBsky className="pe-1" aria-hidden="true" />
139139
{bsky}
140140
</ExternalLink>
141141
</div>
142142
)}
143143
{github && (
144144
<div className="me-4">
145145
<ExternalLink
146-
aria-label="GitHub Profile"
146+
aria-label={`${name} on GitHub`}
147147
href={`https://github.com/${github}`}
148148
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
149-
<IconGitHub className="pe-1" /> {github}
149+
<IconGitHub className="pe-1" aria-hidden="true" /> {github}
150150
</ExternalLink>
151151
</div>
152152
)}
153153
{personal && (
154154
<ExternalLink
155-
aria-label="Personal Site"
155+
aria-label={`${name}'s personal website`}
156156
href={`https://${personal}`}
157157
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
158-
<IconLink className="pe-1" /> {personal}
158+
<IconLink className="pe-1" aria-hidden="true" /> {personal}
159159
</ExternalLink>
160160
)}
161161
</div>

‎src/content/blog/2023/03/16/introducing-react-dev.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,13 @@ Quando abbiamo rilasciato React Hooks nel 2018, la documentazione sugli Hooks pr
4848

4949
**La nuova documentazione insegna React con gli Hooks fin dall'inizio.** La documentazione è divisa in due sezioni principali:
5050

51+
<<<<<<< HEAD
5152
* **[Impara React](/learn)** è un corso autogestito che insegna React da zero.
5253
* **[API Reference](/reference)** fornisce i dettagli e gli esempi d'uso per ogni API React.
54+
=======
55+
* **[Learn React](/learn)** is a self-paced course that teaches React from scratch.
56+
* **[API Reference](/reference/react)** provides the details and usage examples for every React API.
57+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
5358
5459
Vediamo più da vicino cosa trovi in ciascuna sezione.
5560

@@ -466,11 +471,19 @@ Abbiamo confermato con i vendor dei browser che questa rappresentazione è scien
466471

467472
Nell'[API Reference](/reference/react), ogni API React ha ora una pagina dedicata. Questo include tutti i tipi di API:
468473

474+
<<<<<<< HEAD
469475
- Hooks integrati come [`useState`](/reference/react/useState).
470476
- Componenti integrati come [`<Suspense>`](/reference/react/Suspense).
471477
- Componenti browser integrati come [`<input>`](/reference/react-dom/components/input).
472478
- API orientate ai framework come [`renderToPipeableStream`](/reference/react-dom/server/renderToReadableStream).
473479
- Altre API React come [`memo`](/reference/react/memo).
480+
=======
481+
- Built-in Hooks like [`useState`](/reference/react/useState).
482+
- Built-in components like [`<Suspense>`](/reference/react/Suspense).
483+
- Built-in browser components like [`<input>`](/reference/react-dom/components/input).
484+
- Framework-oriented APIs like [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream).
485+
- Other React APIs like [`memo`](/reference/react/memo).
486+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
474487
475488
Noterai che ogni pagina API è divisa in almeno due segmenti: *Reference* e *Usage*.
476489

@@ -614,7 +627,11 @@ button { display: block; margin-top: 10px; }
614627

615628
</Recipes>
616629

630+
<<<<<<< HEAD
617631
Alcune pagine API includono anche [Troubleshooting](/reference/react/useEffect#troubleshooting) (per problemi comuni) e [Alternatives](/reference/react-dom/findDOMNode#alternatives) (per API deprecate).
632+
=======
633+
Some API pages also include [Troubleshooting](/reference/react/useEffect#troubleshooting) (for common problems) and [Alternatives](https://18.react.dev/reference/react-dom/findDOMNode#alternatives) (for deprecated APIs).
634+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
618635
619636
Speriamo che questo approccio renda l'API reference utile non solo per cercare un argomento, ma per vedere tutte le cose diverse che puoi fare con una data API — e come si collega alle altre.
620637

‎src/content/blog/2024/04/25/react-19-upgrade-guide.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,11 @@ const ref = useRef<number>(null);
646646
ref.current = 1;
647647
```
648648

649+
<<<<<<< HEAD
649650
`MutableRef` è ora deprecato in favore di un unico tipo `RefObject` che `useRef` restituirà sempre:
651+
=======
652+
`MutableRefObject` is now deprecated in favor of a single `RefObject` type which `useRef` will always return:
653+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
650654
651655
```ts
652656
interface RefObject<T> {

‎src/content/blog/2024/12/05/react-19.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,11 @@ Per maggiori informazioni, consulta la documentazione delle [Directives](/refere
397397

398398
Le Server Actions possono essere create in Server Components e passate come props a Client Components, oppure possono essere importate e usate in Client Components.
399399

400+
<<<<<<< HEAD
400401
Per approfondire, consulta la documentazione delle [React Server Actions](/reference/rsc/server-actions).
402+
=======
403+
For more, see the docs for [React Server Actions](/reference/rsc/server-functions).
404+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
401405
402406
## Miglioramenti in React 19 {/*improvements-in-react-19*/}
403407

‎src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14273,7 +14273,11 @@ Purtroppo, alcuni hooks sono ancora difficili da pensare in termini di funzione
1427314273

1427414274
Abbiamo scoperto che spesso la confusione deriva dall'usare un Effetto quando non ne hai bisogno. La guida [You Might Not Need an Effect](/learn/you-might-not-need-an-effect) copre molti casi in cui gli Effetti non sono la soluzione giusta. Tuttavia, anche quando un Effetto è adatto a un problema, gli Effetti possono essere ancora più difficili da capire rispetto ai lifecycle dei componenti classe.
1427514275

14276+
<<<<<<< HEAD
1427614277
Crediamo che una delle ragioni della confusione sia che gli sviluppatori pensano agli Effetti dalla prospettiva del _componente_ (come un lifecycle), invece che dal punto di vista degli _Effetti_ (cosa fa l'Effetto).
14278+
=======
14279+
We believe one of the reasons for confusion is that developers tend to think of Effects from the _component's_ perspective (like a lifecycle), instead of the _Effects_ point of view (what the Effect does).
14280+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
1427714281
1427814282
Diamo un'occhiata a un esempio [dalla documentazione](/learn/lifecycle-of-reactive-effects#thinking-from-the-effects-perspective):
1427914283

‎src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ Divulgazioni aggiuntive possono essere frustranti, ma in genere sono segno di un
8181

8282
### Framework e bundler interessati {/*affected-frameworks-and-bundlers*/}
8383

84+
<<<<<<< HEAD
8485
Alcuni framework e bundler React dipendevano, avevano peer dependency o includevano i pacchetti React vulnerabili. I seguenti framework e bundler React sono interessati: [next](https://www.npmjs.com/package/next), [react-router](https://www.npmjs.com/package/react-router), [waku](https://www.npmjs.com/package/waku), [@parcel/rsc](https://www.npmjs.com/package/@parcel/rsc), [@vite/rsc-plugin](https://www.npmjs.com/package/@vitejs/plugin-rsc) e [rwsdk](https://www.npmjs.com/package/rwsdk).
86+
=======
87+
Some React frameworks and bundlers depended on, had peer dependencies for, or included the vulnerable React packages. The following React frameworks & bundlers are affected: [next](https://www.npmjs.com/package/next), [react-router](https://www.npmjs.com/package/react-router), [waku](https://www.npmjs.com/package/waku), [@parcel/rsc](https://www.npmjs.com/package/@parcel/rsc), [@vitejs/plugin-rsc](https://www.npmjs.com/package/@vitejs/plugin-rsc), and [rwsdk](https://www.npmjs.com/package/rwsdk).
88+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
8589
8690
Consulta [le istruzioni nel post precedente](/blog/2025/12/03/critical-security-vulnerability-in-react-server-components#update-instructions) per i passaggi di aggiornamento.
8791

‎src/content/community/conferences.md‎

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Conosci una conferenza React.js locale? Aggiungila qui! (Mantieni l'elenco in or
1717

1818
## Prossime conferenze {/*upcoming-conferences*/}
1919

20+
<<<<<<< HEAD
2021
### ZurichJS Conf 2026 {/*zurichjs-conf-2026*/}
2122
September 10-11, 2026. In presenza a Zurich, Switzerland
2223

@@ -37,6 +38,8 @@ October 23 & 26, 2026. In-person in London, UK + online (hybrid event)
3738

3839
[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced) - [LinkedIn](https://www.linkedin.com/showcase/react-advanced-london/)
3940

41+
=======
42+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
4043
### React Summit US 2026 {/*react-summit-us-2026*/}
4144
November 17 & 20, 2026. In-person in New York, USA + online (hybrid event)
4245

@@ -52,6 +55,11 @@ April 15 & 19, 2027. In-person in Singapore + online (hybrid event)
5255

5356
[Website](https://reactsummit.asia/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit)
5457

58+
### React Conf Japan 2027 {/*react-conf-japan-2027*/}
59+
April 24, 2027. In-person in Tokyo, Japan
60+
61+
[Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)
62+
5563
### React Summit 2027 {/*react-summit-2027*/}
5664
May 21 & 25, 2027. In-person in Amsterdam, Netherlands + online (hybrid event)
5765

@@ -60,16 +68,71 @@ May 21 & 25, 2027. In-person in Amsterdam, Netherlands + online (hybrid event)
6068

6169
## Conferenze passate {/*past-conferences*/}
6270

71+
### React India 2026 {/*react-india-2026*/}
72+
October 29-31, 2026. In-person in Goa, India
6373

74+
<<<<<<< HEAD
6475
### React Conf Japan 2027 {/*react-conf-japan-2027*/}
6576
April 24, 2027. In presenza a Tokyo, Japan
6677

6778
[Sito web](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)
79+
=======
80+
[Website](https://www.reactindia.io/) - [Twitter](https://x.com/react_india)
81+
82+
### React Advanced London 2026 {/*react-advanced-london-2026*/}
83+
October 23 & 26, 2026. In-person in London, UK + online (hybrid event)
84+
85+
[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced) - [LinkedIn](https://www.linkedin.com/showcase/react-advanced-london/)
86+
87+
### CityJS Athens 2026 {/*cityjs-athens-2026*/}
88+
October 21-23, 2026. In-person in Athens
89+
90+
[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
91+
92+
### React Alicante 2026 {/*react-alicante-2026*/}
93+
Sep 24 - 26, 2026. In-person in Alicante
94+
95+
[Website](https://reactalicante.es//) - [Twitter](https://x.com/ReactAlicante)
96+
97+
### React Native Connection 2026 {/*react-native-connection-2026*/}
98+
September 24, 2026. In-person in Paris, France
99+
100+
[Website](https://reactnativeconnection.io/) - [Twitter](https://x.com/ReactNativeConn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social)
101+
102+
### ZurichJS Conf 2026 {/*zurichjs-conf-2026*/}
103+
September 10-11, 2026. In-person in Zurich, Switzerland
104+
105+
[Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/)
106+
107+
### Render(ATL) 2026 🍑 {/*renderatl-2026-*/}
108+
August 12-13, 2026. In-person in Atlanta, GA, USA
109+
110+
[Website](https://renderatl.com/) - [Twitter](https://x.com/renderATL) - [LinkedIn](https://www.linkedin.com/company/renderatl)
111+
112+
### React Summit 2026 {/*react-summit-2026*/}
113+
June 12 & 16, 2026. In-person in Amsterdam, Netherlands + online (hybrid event)
114+
115+
[Website](https://reactsummit.com/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit)
116+
117+
### React Norway 2026 {/*react-norway-2026*/}
118+
June 5, 2026. In-person in Oslo, Norway
119+
120+
[Website](https://reactnorway.com/) - [Twitter](https://x.com/ReactNorway)
121+
122+
### React Miami 2026 {/*react-miami-2026*/}
123+
April 23-24, 2026. In-person in Miami, FL, USA
124+
125+
[Website](https://reactmiami.com/) - [Twitter](https://x.com/ReactMiamiConf)
126+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
68127
69128
### CityJS London 2026 {/*cityjs-london-2026*/}
70129
April 14-17, 2026. In presenza a London
71130

131+
<<<<<<< HEAD
72132
[Sito web](https://india.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
133+
=======
134+
[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
135+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
73136
74137

75138
### React Paris 2026 {/*react-paris-2026*/}
@@ -86,7 +149,11 @@ February 12-13, 2026. In presenza a New Delhi, India
86149
### CityJS Singapore 2026 {/*cityjs-singapore-2026*/}
87150
February 4-6, 2026. In presenza a Singapore
88151

152+
<<<<<<< HEAD
89153
[Sito web](https://india.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
154+
=======
155+
[Website](https://singapore.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
156+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
90157
91158
### React Advanced London 2025 {/*react-advanced-london-2025*/}
92159
November 28 & December 1, 2025. In presenza a London, UK + remoto (evento ibrido)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,11 @@ React usa gli alberi per modellare le relazioni tra componenti e moduli.
529529

530530
Un albero di renderizzazione di React è una rappresentazione delle relazioni padre e figlio tra i componenti.
531531

532+
<<<<<<< HEAD
532533
<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'.">
534+
=======
535+
<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 of 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'.">
536+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
533537
534538
Un esempio di albero di rendering React.
535539

‎src/content/learn/extracting-state-logic-into-a-reducer.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,11 @@ I reducer non sono privi di svantaggi! Ecco alcuni modi per confrontarli:
874874
- **Testing:** Un reducer è una funzione pura che non dipende dal tuo componente. Questo significa che puoi esportarlo e testarlo separatamente in isolamento. Anche se generalmente è meglio testare i componenti in un ambiente più realistico, per la logica di aggiornamento dello stato complessa può essere utile affermare che il tuo reducer restituisce un particolare stato per un particolare stato iniziale e azione.
875875
- **Preferenza personale:** Ad alcune persone piacciono i reducers, ad altre no. Va bene. È una questione di preferenza. Puoi sempre passare da `useState` a `useReducer` e viceversa: sono equivalenti!
876876

877+
<<<<<<< HEAD
877878
Raccomandiamo l'uso di un reducer se spesso incontri bug dovuti ad aggiornamenti errati di state in qualche componente, e desideri introdurre più struttura nel suo codice. Non devi usare i reducer per tutto: sentiti libero di combinare e variare! Puoi anche usare `useState` e `useReducer` nello stesso componente.
879+
=======
880+
We recommend using a reducer if you often encounter bugs due to incorrect state updates in some component, and want to introduce more structure to its code. You don't have to use reducers for everything: feel free to mix and match! You can even use `useState` and `useReducer` in the same component.
881+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
878882
879883
## Scrivere bene i reducer {/*writing-reducers-well*/}
880884

‎src/content/learn/index.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,11 @@ function MyButton() {
336336
}
337337
```
338338
339+
<<<<<<< HEAD
339340
React chiamerà di nuovo la tua funzione componente. Questa volta, `count` sarà `1`. Poi sarà `2`. E così via.
341+
=======
342+
Calling `setCount` tells React to call your component function again. This is called a *re-render*. This time, `count` will be `1`. Then it will be `2`. And so on.
343+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
340344
341345
Se esegui il rendering dello stesso componente più volte, ognuno avrà il proprio state. Fai clic su ogni pulsante separatamente:
342346

0 commit comments

Comments
 (0)