Skip to content

Commit 605f6ec

Browse files
authored
Update flushSync.md
1 parent eecc680 commit 605f6ec

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/content/reference/react-dom/flushSync.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,10 @@ flushSync(() => {
5151

5252
#### সতর্কতা {/*caveats*/}
5353

54-
<<<<<<< HEAD
5554
* `flushSync` বেশ উল্লেখজনকভাবে পারফরম্যান্স কমিয়ে দিতে পারে, কম ব্যবহারের চেষ্টা করুন।
5655
* `flushSync` পেন্ডিং সাসপেন্স বাউন্ডারিগুলোকে তাদের `fallback` state দেখাতে বাধ্য করতে পারে।
57-
* `flushSync` পেন্ডিং Effect গুলো রান করতে পারে এবং সিঙ্ক্রোনাসভাবে may run pending effects and synchronously apply any updates they contain before returning.
56+
* `flushSync` পেন্ডিং Effect গুলো রান করতে পারে এবং সিঙ্ক্রোনাসভাবে রিটার্ন করার আগে সেগুলোর মধ্যে থাকা আপডেট এপ্লাই করতে পারে।
5857
* `flushSync` প্রয়োজনে কলব্যাকের ভিতরের আপডেট flush করার জন্য কলব্যাকের বাইরে আপডেট flush করতে পারে। যেমন, যদি কোন একটি ক্লিক থেকে কোন আপডেট পেন্ডীং থাকে, React কলব্যাকের ভিতরের আপডেট flush করার আগে ওগুলো flush করতে পারে।
59-
=======
60-
* `flushSync` can significantly hurt performance. Use sparingly.
61-
* `flushSync` may force pending Suspense boundaries to show their `fallback` state.
62-
* `flushSync` may run pending Effects and synchronously apply any updates they contain before returning.
63-
* `flushSync` may flush updates outside the callback when necessary to flush the updates inside the callback. For example, if there are pending updates from a click, React may flush those before flushing the updates inside the callback.
64-
>>>>>>> 97489434323b0c4cce78588cd0f48e3808e0eba4
6558

6659
---
6760

0 commit comments

Comments
 (0)