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/reference/react-dom/server/renderToStaticMarkup.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Produrrà un output HTML non interattivo dei tuoi componenti React.
41
41
42
42
#### Parameters {/*parameters*/}
43
43
44
-
* `reactNode`: Un nodo React che vuoi renderizzare in HTML. Ad esempio, un nodo JSX come `<Page />`.
44
+
* `reactNode`: Un nodo React che vuoi renderizzare in HTML. Ad esempio, un elemento JSX come `<Page />`.
45
45
* **optional** `options`: Un oggetto per la renderizzazione sul server.
46
46
* **optional** `identifierPrefix`: Un prefisso stringa che React usa per gli ID generati da [`useId`.](/reference/react/useId) Utile per evitare conflitti quando usi più root sulla stessa pagina.
47
47
@@ -51,7 +51,7 @@ Una stringa HTML.
51
51
52
52
#### Caveats {/*caveats*/}
53
53
54
-
* L'output di `renderToStaticMarkup` non può essere idratato.
54
+
* L'output di `renderToStaticMarkup` non supporta l'hydration.
55
55
56
56
* `renderToStaticMarkup` ha un supporto limitato a Suspense. Se un componente sospende, `renderToStaticMarkup` invia immediatamente il suo fallback come HTML.
57
57
@@ -79,7 +79,7 @@ Questo produrrà l'output HTML non interattivo iniziale dei tuoi componenti Reac
79
79
80
80
<Pitfall>
81
81
82
-
Questo metodo renderizza **HTML non interattivo che non può essere idratato.** È utile se vuoi usare React come semplice generatore di pagine statiche, o se renderizzi contenuto completamente statico come email.
82
+
Questo metodo renderizza **HTML non interattivo che non supporta l'hydration.** È utile se vuoi usare React come semplice generatore di pagine statiche, o se renderizzi contenuto completamente statico come email.
83
83
84
84
Le app interattive dovrebbero usare [`renderToString`](/reference/react-dom/server/renderToString) sul server e [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) sul client.
0 commit comments