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: content/docs/reference-react-dom-server.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,9 +116,9 @@ try {
116
116
}
117
117
);
118
118
119
-
//This is to wait for all Suspense boundaries to be ready. You can uncomment
120
-
//this line if you want to buffer the entire HTML instead of streaming it.
121
-
//You can use this for crawlers or static generation:
119
+
//این برای منتظر ماندن است تا تمام مرزهای Suspense آماده شوند.
120
+
//اگر میخواهید به جای استریم، کل HTML را بافر کنید، میتوانید این خط را از حالت نظر خارج کنید.
121
+
//می توانید از این برای خزندهها (crawlers) یا تولید استاتیک استفاده کنید:
122
122
123
123
// await stream.allReady;
124
124
@@ -137,11 +137,11 @@ try {
137
137
}
138
138
```
139
139
140
-
See the [full list of options](https://github.com/facebook/react/blob/14c2be8dac2d5482fda8a0906a31d239df8551fc/packages/react-dom/src/server/ReactDOMFizzServerBrowser.js#L27-L35).
140
+
به [لیست کامل گزینهها](https://github.com/facebook/react/blob/14c2be8dac2d5482fda8a0906a31d239df8551fc/packages/react-dom/src/server/ReactDOMFizzServerBrowser.js#L27-L35) مراجعه کنید.
141
141
142
-
> Note:
142
+
> نکته:
143
143
>
144
-
> This API depends on [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API). For Node.js, use [`renderToPipeableStream`](#rendertopipeablestream)instead.
144
+
> این API به [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) بستگی دارد. برای Node.js، به جای آن از [`renderToPipeableStream`](#rendertopipeablestream)استفاده کنید.
اگر [`ReactDOM.hydrateRoot()`](/docs/react-dom-client.html#hydrateroot) را روی نودی که پیشتر در سرور ساخته شده است، فراخوانی کنید، ریاکت آن را همانطوری که بوده حفظ خواهد کرد. در عین حال اجازه خواهد داد تا event handler ها را به آن الصاق کنید. از همین رو، بارگذاری اولیه سریع تر انجام خواهد شد.
196
196
197
-
> Note
197
+
> نکته
198
198
>
199
-
> This API has limited Suspense support and does not support streaming.
199
+
> این API پشتیبانی محدودی از Suspense دارد و از استریم پشتیبانی نمیکند.
200
200
>
201
-
> On the server, it is recommended to use either[`renderToPipeableStream`](#rendertopipeablestream) (for Node.js) or[`renderToReadableStream`](#rendertoreadablestream) (for Web Streams) instead.
201
+
> در سرور، توصیه می شود به جای آن از[`renderToPipeableStream`](#rendertopipeablestream) (برای Node.js) یا[`renderToReadableStream`](#rendertoreadablestream) (برای استریمهای های وب) استفاده کنید.
0 commit comments