Skip to content

Commit f2d079a

Browse files
deblasiscursoragent
andcommitted
fix(docs): ripristina sidebar e allinea terminologia react-dom index
Ripristina i titoli sidebar italiani/inglesi esistenti che erano stati sovrascritti con titoli upstream; mantiene solo API React DOM per /reference/react-dom. Allinea flushSync a svuotare e usa singolare per la sezione server rendering. Signed-off-by: Alessandro De Blasis <alex@deblasis.net> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5f17ce5 commit f2d079a

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎src/content/reference/react-dom/index.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Il pacchetto `react-dom` contiene metodi supportati solo nelle applicazioni web
2222
Queste API possono essere importate dai tuoi componenti. Vengono usate raramente:
2323

2424
* [`createPortal`](/reference/react-dom/createPortal) ti permette di renderizzare componenti figli in una parte diversa dell'albero DOM.
25-
* [`flushSync`](/reference/react-dom/flushSync) ti permette di forzare React a eseguire il flush di un aggiornamento di state e ad aggiornare il DOM in modo sincrono.
25+
* [`flushSync`](/reference/react-dom/flushSync) ti permette di forzare React a svuotare in modo sincrono un aggiornamento di state e ad aggiornare il DOM.
2626

2727
## API di precaricamento delle risorse {/*resource-preloading-apis*/}
2828

@@ -39,7 +39,7 @@ I [framework basati su React](/learn/creating-a-react-app) gestiscono spesso il
3939

4040
## API di renderizzazione sul server {/*server-rendering-apis*/}
4141

42-
Queste API controllano come i componenti vengono renderizzati sul server:
42+
Questa API controlla come i componenti vengono renderizzati sul server:
4343

4444
* [`browser`](/reference/react-dom/browser) ti permette di contrassegnare un componente come solo per il browser durante la renderizzazione sul server.
4545

‎src/sidebarReference.json‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"title": "API Reference",
2+
"title": "Riferimento API",
33
"path": "/reference/react",
44
"routes": [
55
{
66
"hasSectionHeader": true,
77
"sectionHeader": "react@{{version}}"
88
},
99
{
10-
"title": "Overview",
10+
"title": "Panoramica della documentazione di React",
1111
"path": "/reference/react"
1212
},
1313
{
14-
"title": "Hooks",
14+
"title": "Built-in React Hooks",
1515
"path": "/reference/react/hooks",
1616
"routes": [
1717
{
@@ -89,7 +89,7 @@
8989
]
9090
},
9191
{
92-
"title": "Components",
92+
"title": "Built-in React Components",
9393
"path": "/reference/react/components",
9494
"routes": [
9595
{
@@ -119,7 +119,7 @@
119119
]
120120
},
121121
{
122-
"title": "APIs",
122+
"title": "Built-in React APIs",
123123
"path": "/reference/react/apis",
124124
"routes": [
125125
{
@@ -179,7 +179,7 @@
179179
"sectionHeader": "react-dom@{{version}}"
180180
},
181181
{
182-
"title": "Hooks",
182+
"title": "Built-in React DOM Hooks",
183183
"path": "/reference/react-dom/hooks",
184184
"routes": [
185185
{
@@ -189,7 +189,7 @@
189189
]
190190
},
191191
{
192-
"title": "Components",
192+
"title": "React DOM Components",
193193
"path": "/reference/react-dom/components",
194194
"routes": [
195195
{
@@ -285,7 +285,7 @@
285285
]
286286
},
287287
{
288-
"title": "Client APIs",
288+
"title": "Client React DOM APIs",
289289
"path": "/reference/react-dom/client",
290290
"routes": [
291291
{
@@ -299,7 +299,7 @@
299299
]
300300
},
301301
{
302-
"title": "Server APIs",
302+
"title": "Server React DOM APIs",
303303
"path": "/reference/react-dom/server",
304304
"routes": [
305305
{
@@ -329,7 +329,7 @@
329329
]
330330
},
331331
{
332-
"title": "Static APIs",
332+
"title": "Static React DOM APIs",
333333
"path": "/reference/react-dom/static",
334334
"routes": [
335335
{
@@ -385,11 +385,11 @@
385385
"path": "/reference/react-compiler/directives",
386386
"routes": [
387387
{
388-
"title": "\"use memo\"",
388+
"title": "use memo",
389389
"path": "/reference/react-compiler/directives/use-memo"
390390
},
391391
{
392-
"title": "\"use no memo\"",
392+
"title": "use no memo",
393393
"path": "/reference/react-compiler/directives/use-no-memo"
394394
}
395395
]
@@ -411,7 +411,7 @@
411411
"sectionHeader": "eslint-plugin-react-hooks"
412412
},
413413
{
414-
"title": "Lints",
414+
"title": "eslint-plugin-react-hooks",
415415
"path": "/reference/eslint-plugin-react-hooks",
416416
"routes": [
417417
{
@@ -486,10 +486,10 @@
486486
},
487487
{
488488
"hasSectionHeader": true,
489-
"sectionHeader": "Rules of React"
489+
"sectionHeader": "Regole di React"
490490
},
491491
{
492-
"title": "Overview",
492+
"title": "Rules of React",
493493
"path": "/reference/rules",
494494
"routes": [
495495
{
@@ -534,7 +534,7 @@
534534
},
535535
{
536536
"hasSectionHeader": true,
537-
"sectionHeader": "Legacy APIs"
537+
"sectionHeader": "API Legacy"
538538
},
539539
{
540540
"title": "Legacy React APIs",

0 commit comments

Comments
 (0)