Skip to content

Commit 52de698

Browse files
committed
fix: refine Bengali translation for useTransition documentation and remove merge conflict artifacts
1 parent c32c185 commit 52de698

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/content/reference/react/useTransition.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,13 +1676,7 @@ startTransition(() => {
16761676
});
16771677
```
16781678
1679-
<<<<<<< HEAD
1680-
`startTransition` এ আপনি যে ফাংশন পাস করবেন তা অবশ্যই একই সময়ে হতে হবে।
1681-
1682-
আপনি এভাবে একটি আপডেটকে ট্রানজিশন হিসেবে চিহ্নিত করতে পারবেন না:
1683-
=======
1684-
The function you pass to `startTransition` must be synchronous. You can't mark an update as a Transition like this:
1685-
>>>>>>> 50d6991ca6652f4bc4c985cf0c0e593864f2cc91
1679+
`startTransition` এ আপনি যে ফাংশন পাস করবেন তা অবশ্যই সিঙ্ক্রোনাস হতে হবে। আপনি এভাবে একটি আপডেটকে ট্রানজিশন হিসেবে চিহ্নিত করতে পারবেন না:
16861680
16871681
```js
16881682
startTransition(() => {
@@ -1704,15 +1698,11 @@ setTimeout(() => {
17041698
}, 1000);
17051699
```
17061700
1707-
<<<<<<< HEAD
1708-
একইভাবে, আপনি একটি আপডেটকে এইরকম ট্রানজিশন হিসেবে চিহ্নিত করতে পারবেন না:
1709-
=======
17101701
---
17111702
1712-
### React doesn't treat my state update after `await` as a Transition {/*react-doesnt-treat-my-state-update-after-await-as-a-transition*/}
1703+
### React আমার `await` এর পরে state update কে ট্রানজিশন হিসেবে বিবেচনা করছে না {/*react-doesnt-treat-my-state-update-after-await-as-a-transition*/}
17131704
1714-
When you use `await` inside a `startTransition` function, the state updates that happen after the `await` are not marked as Transitions. You must wrap state updates after each `await` in a `startTransition` call:
1715-
>>>>>>> 50d6991ca6652f4bc4c985cf0c0e593864f2cc91
1705+
যখন আপনি `startTransition` ফাংশনের মধ্যে `await` ব্যবহার করেন, তখন `await` এর পরে ঘটে যাওয়া state update গুলো ট্রানজিশন হিসেবে চিহ্নিত হয় না। আপনাকে প্রতিটি `await` এর পরে state update গুলোকে একটি `startTransition` কলের মধ্যে মোড়াতে হবে:
17161706
17171707
```js
17181708
startTransition(async () => {

0 commit comments

Comments
 (0)