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/renderToPipeableStream.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,11 +71,11 @@ Client-side এ, server-generated HTML কে ইন্টার্যাক
71
71
72
72
---
73
73
74
-
## Usage {/*usage*/}
74
+
## ব্যবহার {/*usage*/}
75
75
76
-
### Rendering a React tree as HTML to a Node.js Stream {/*rendering-a-react-tree-as-html-to-a-nodejs-stream*/}
76
+
### React tree কে Node.js Stream এ HTML হিসেবে render করা {/*rendering-a-react-tree-as-html-to-a-nodejs-stream*/}
77
77
78
-
Call `renderToPipeableStream` to render your React tree as HTML into a [Node.js Stream:](https://nodejs.org/api/stream.html#writable-streams)
78
+
আপনার React tree কে একটি [Node.js Stream](https://nodejs.org/api/stream.html#writable-streams) এ HTML হিসেবে render করতে `renderToPipeableStream` কল করুন:
Along with the <CodeStep step={1}>root component</CodeStep>, you need to provide a list of <CodeStep step={2}>bootstrap `<script>`paths</CodeStep>. Your root component should return **the entire document including the root `<html>` tag.**
95
+
<CodeStep step={1}>root component</CodeStep> এর সাথে, আপনাকে <CodeStep step={2}>bootstrap `<script>`path গুলোর</CodeStep> একটি list প্রদান করতে হবে। আপনার root component টি যেন **root `<html>` tag সহ পুরো document return করে।**
96
96
97
-
For example, it might look like this:
97
+
উদাহরণস্বরূপ, এটি এরকম দেখতে হতে পারে:
98
98
99
99
```js [[1, 1, "App"]]
100
100
exportdefaultfunctionApp() {
@@ -114,7 +114,7 @@ export default function App() {
114
114
}
115
115
```
116
116
117
-
React will inject the [doctype](https://developer.mozilla.org/en-US/docs/Glossary/Doctype) and your <CodeStep step={2}>bootstrap `<script>`tags</CodeStep> into the resulting HTML stream:
117
+
React [doctype](https://developer.mozilla.org/en-US/docs/Glossary/Doctype) এবং আপনার <CodeStep step={2}>bootstrap `<script>`tag গুলো</CodeStep> HTML stream এ inject করবে:
118
118
119
119
```html [[2, 5, "/main.js"]]
120
120
<!DOCTYPE html>
@@ -124,7 +124,7 @@ React will inject the [doctype](https://developer.mozilla.org/en-US/docs/Glossar
124
124
<script src="/main.js"async=""></script>
125
125
```
126
126
127
-
On the client, your bootstrap script should [hydrate the entire `document` with a call to `hydrateRoot`:](/reference/react-dom/client/hydrateRoot#hydrating-an-entire-document)
127
+
Client এ, আপনার bootstrap script যেন [`hydrateRoot` কল করে পুরো `document` hydrate করে:](/reference/react-dom/client/hydrateRoot#hydrating-an-entire-document)
128
128
129
129
```js [[1, 4, "<App />"]]
130
130
import { hydrateRoot } from'react-dom/client';
@@ -133,7 +133,7 @@ import App from './App.js';
133
133
hydrateRoot(document, <App />);
134
134
```
135
135
136
-
This will attach event listeners to the server-generated HTML and make it interactive.
136
+
এটি server-generated HTML এ event listener attach করবে এবং এটিকে interactive করে তুলবে।
0 commit comments