Skip to content

Commit 16c864d

Browse files
committed
translate steaming content as it loads
1 parent 58bde48 commit 16c864d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/reference/react-dom/server/renderToPipeableStream.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@ function ProfilePage() {
276276
}
277277
```
278278
279-
In this example, React can start streaming the page even earlier. Only `ProfileLayout` and `ProfileCover` must finish rendering first because they are not wrapped in any `<Suspense>` boundary. However, if `Sidebar`, `Friends`, or `Photos` need to load some data, React will send the HTML for the `BigSpinner` fallback instead. Then, as more data becomes available, more content will continue to be revealed until all of it becomes visible.
279+
এই উদাহরণে, React আরো আগে page streaming শুরু করতে পারে। শুধুমাত্র `ProfileLayout` এবং `ProfileCover` এর প্রথমে rendering শেষ করতে হবে কারণ তারা কোনো `<Suspense>` boundary তে wrap করা নেই। তবে, যদি `Sidebar`, `Friends`, অথবা `Photos` এর কিছু data load করতে হয়, React তার পরিবর্তে `BigSpinner` fallback এর HTML পাঠাবে। তারপর, যত বেশি data লোড হবে, ততবেশি content প্রকাশিত হতে থাকবে যতক্ষণ না সবকিছু দৃশ্যমান হয়।
280280
281-
Streaming does not need to wait for React itself to load in the browser, or for your app to become interactive. The HTML content from the server will get progressively revealed before any of the `<script>` tags load.
281+
Streaming এর React নিজে browser এ load হওয়ার জন্য অথবা আপনার app interactive হওয়ার জন্য অপেক্ষা করার প্রয়োজন নেই। Server থেকে HTML content কোনো `<script>` tag load হওয়ার আগেই একে একে প্রকাশিত হতে থাকবে।
282282
283-
[Read more about how streaming HTML works.](https://github.com/reactwg/react-18/discussions/37)
283+
[HTML Streaming কিভাবে কাজ করে সে সম্পর্কে আরো পড়ুন।](https://github.com/reactwg/react-18/discussions/37)
284284
285285
<Note>
286286

0 commit comments

Comments
 (0)