Skip to content

Commit c28d998

Browse files
authored
Update flushSync.md
1 parent cfc4111 commit c28d998

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

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

Lines changed: 0 additions & 7 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 দেখাতে বাধ্য করতে পারে।
5756
* `flushSync` পেন্ডিং Effect গুলো রান করতে পারে এবং সিঙ্ক্রোনাসভাবে may run pending effects and synchronously apply any updates they contain before returning.
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-
>>>>>>> 93177e6ceac8ffb5c2a8f3ed4bd1f80b63097078
6558

6659
---
6760

0 commit comments

Comments
 (0)