Skip to content

Commit e363199

Browse files
committed
translate 5%
1 parent 1c88afc commit e363199

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/content/reference/react/useSyncExternalStore.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ const snapshot = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot?
1616
1717
---
1818
19-
## Reference {/*reference*/}
19+
## রেফারেন্স {/*reference*/}
2020
2121
### `useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot?)` {/*usesyncexternalstore*/}
2222
23-
Call `useSyncExternalStore` at the top level of your component to read a value from an external data store.
23+
একটি এক্সটার্নাল ডেটা স্টোর থেকে কোনো ভ্যালু রিড করতে আপনার কম্পোনেন্টের টপ লেভেলে `useSyncExternalStore` কল করুন।
2424
2525
```js
2626
import { useSyncExternalStore } from 'react';
@@ -32,12 +32,12 @@ function TodosApp() {
3232
}
3333
```
3434
35-
It returns the snapshot of the data in the store. You need to pass two functions as arguments:
35+
এটি স্টোরে থাকা ডেটার স্ন্যাপশট (snapshot) রিটার্ন করে। আপনাকে এর আর্গুমেন্ট হিসেবে দুটি ফাংশন পাস করতে হবে:
3636
37-
1. The `subscribe` function should subscribe to the store and return a function that unsubscribes.
38-
2. The `getSnapshot` function should read a snapshot of the data from the store.
37+
1. `subscribe` ফাংশনটি স্টোরে সাবস্ক্রাইব করবে এবং এমন একটি ফাংশন রিটার্ন করবে যা সাবস্ক্রিপশনটি আনসাবস্ক্রাইব করে।
38+
2. `getSnapshot` ফাংশনটি স্টোর থেকে ডেটার স্ন্যাপশট রিড করবে।
3939
40-
[See more examples below.](#usage)
40+
[নিচে আরও উদাহরণ দেখুন।](#usage)
4141
4242
#### Parameters {/*parameters*/}
4343

0 commit comments

Comments
 (0)