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/index.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -4,40 +4,40 @@ title: React DOM APIs
4
4
5
5
<Intro>
6
6
7
-
The `react-dom`package contains methods that are only supported for the web applications (which run in the browser DOM environment). They are not supported for React Native.
7
+
The `react-dom`প্যাকেজে যেসব মেথড রয়েছে সেগুলো কেবল ওয়েব অ্যাপ্লিকেশন (যেগুলো ব্রাউজারের DOM এনভায়রনমেন্টে চলে) সাপোর্ট করে। এগুলো React native সাপোর্ট করে না।
8
8
9
9
</Intro>
10
10
11
11
---
12
12
13
13
## APIs {/*apis*/}
14
14
15
-
These APIs can be imported from your components. They are rarely used:
15
+
এই API গুলো আপনার কম্পোনেন্ট থেকে ইমপোর্ট করা যেতে পারে। এগুলো ব্যবহার হয় না বললেই চলেঃ
16
16
17
-
*[`createPortal`](/reference/react-dom/createPortal)lets you render child components in a different part of the DOM tree.
18
-
*[`flushSync`](/reference/react-dom/flushSync)lets you force React to flush a state update and update the DOM synchronously.
17
+
*[`createPortal`](/reference/react-dom/createPortal)আপনাকে DOM ট্রি এর অন্য একটি অংশে চাইল্ড কম্পোনেন্ট রেন্ডার করতে দেয়।
18
+
*[`flushSync`](/reference/react-dom/flushSync)আপনাকে সুযোগ দেয় React কে একটি state আপডেট flush করতে বাধ্য করতে এবং একি সাথে DOM আপডেট করতে।
19
19
20
20
---
21
21
22
22
## Entry points {/*entry-points*/}
23
23
24
-
The `react-dom`package provides two additional entry points:
24
+
`react-dom`প্যাকেজ দুটি অতিরিক্ত entry point দেয়ঃ
25
25
26
-
*[`react-dom/client`](/reference/react-dom/client)contains APIs to render React components on the client (in the browser).
27
-
*[`react-dom/server`](/reference/react-dom/server)contains APIs to render React components on the server.
26
+
*[`react-dom/client`](/reference/react-dom/client)এর মধ্যে রয়েছে সেই API গুলো যেগুলো ক্লায়েন্টে (ব্রাউজারে) React কম্পোনেন্ট রেন্ডার করে।
27
+
*[`react-dom/server`](/reference/react-dom/server)এর মধ্যে রয়েছে সেই API গুলো যেগুলো সার্ভারে React কম্পোনেন্ট রেন্ডার করে।
28
28
29
29
---
30
30
31
31
## Deprecated APIs {/*deprecated-apis*/}
32
32
33
33
<Deprecated>
34
34
35
-
These APIs will be removed in a future major version of React.
35
+
এই API গুলো React এর সামনের কোন বড় ভার্সনে ফেলে দেওয়া হবে।
36
36
37
37
</Deprecated>
38
38
39
-
*[`findDOMNode`](/reference/react-dom/findDOMNode)finds the closest DOM node corresponding to a class component instance.
40
-
*[`hydrate`](/reference/react-dom/hydrate)mounts a tree into the DOM created from server HTML. Deprecated in favor of [`hydrateRoot`](/reference/react-dom/client/hydrateRoot).
41
-
*[`render`](/reference/react-dom/render)mounts a tree into the DOM. Deprecated in favor of [`createRoot`](/reference/react-dom/client/createRoot).
42
-
*[`unmountComponentAtNode`](/reference/react-dom/unmountComponentAtNode)unmounts a tree from the DOM. Deprecated in favor of[`root.unmount()`.](/reference/react-dom/client/createRoot#root-unmount)
39
+
*[`findDOMNode`](/reference/react-dom/findDOMNode)সবচেয়ে নিকটবর্তী সেই DOM নোডকে খুঁজে বের করে একটি ক্লাস কম্পোনেন্ট ইন্সট্যান্সের সাথে correspond করে।
40
+
*[`hydrate`](/reference/react-dom/hydrate)সার্ভার HTML থেকে তৈরি করা DOM এর মধ্যে একটি ট্রি মাউন্ট করে। [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) এর কারণে deprecated।
41
+
*[`render`](/reference/react-dom/render)DOM এর মধ্যে একটি ট্রি মাউন্ট করে। [`createRoot`](/reference/react-dom/client/createRoot) এর কারণে deprecated।
42
+
*[`unmountComponentAtNode`](/reference/react-dom/unmountComponentAtNode) DOM থেকে ট্রি আনমাউন্ট করে।[`root.unmount()`](/reference/react-dom/client/createRoot#root-unmount) এর কারণে deprecated।
0 commit comments