Skip to content

Commit 5e234cb

Browse files
committed
strictmode-50%
1 parent 8faf243 commit 5e234cb

1 file changed

Lines changed: 17 additions & 10 deletions

File tree

src/content/reference/react/StrictMode.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -489,21 +489,21 @@ li {
489489
490490
<Note>
491491
492-
If you have [React DevTools](/learn/react-developer-tools) installed, any `console.log` calls during the second render call will appear slightly dimmed. React DevTools also offers a setting (off by default) to suppress them completely.
492+
আপনার যদি [React DevTools](/learn/react-developer-tools) ইনস্টল করা থাকে, তাহলে দ্বিতীয় রেন্ডার কলের সময় যেকোনো `console.log` কলগুলি সামান্য ম্লান দেখাবে। React DevTools একটি সেটিংও অফার করে (ডিফল্ট অনুযায়ী বন্ধ) যা এগুলিকে সম্পূর্ণভাবে দমন করতে পারে।
493493
494494
</Note>
495495
496496
---
497497
498-
### Fixing bugs found by re-running Effects in development {/*fixing-bugs-found-by-re-running-effects-in-development*/}
498+
### ডেভেলপমেন্টে ইফেক্টস পুনরায় চালানোর মাধ্যমে পাওয়া বাগগুলি সংশোধন করা {/*fixing-bugs-found-by-re-running-effects-in-development*/}
499499
500-
Strict Mode can also help find bugs in [Effects.](/learn/synchronizing-with-effects)
500+
স্ট্রিক্ট মোড [ইফেক্টসে](/learn/synchronizing-with-effects) বাগ খুঁজে পেতেও সাহায্য করতে পারে।
501501
502-
Every Effect has some setup code and may have some cleanup code. Normally, React calls setup when the component *mounts* (is added to the screen) and calls cleanup when the component *unmounts* (is removed from the screen). React then calls cleanup and setup again if its dependencies changed since the last render.
502+
প্রতিটি ইফেক্টের কিছু সেটআপ কোড থাকে এবং কিছু ক্লিনআপ কোড থাকতে পারে। সাধারণত, React কম্পোনেন্ট *মাউন্ট* হলে (স্ক্রিনে যোগ হলে) সেটআপ কল করে এবং কম্পোনেন্ট *আনমাউন্ট* হলে (স্ক্রিন থেকে সরানো হলে) ক্লিনআপ কল করে। তারপর React তার ডিপেন্ডেন্সি গত রেন্ডার থেকে পরিবর্তিত হলে ক্লিনআপ এবং সেটআপ পুনরায় কল করে।
503503
504-
When Strict Mode is on, React will also run **one extra setup+cleanup cycle in development for every Effect.** This may feel surprising, but it helps reveal subtle bugs that are hard to catch manually.
504+
স্ট্রিক্ট মোড চালু থাকলে, React ডেভেলপমেন্টের জন্য প্রতিটি ইফেক্টের জন্য **একটি অতিরিক্ত সেটআপ+ক্লিনআপ চক্র চালাবে।** এটি হয়তো অবাক করে দিতে পারে, কিন্তু এটি সূক্ষ্ম বাগগুলি খুঁজে পেতে সাহায্য করে যা ম্যানুয়ালি ধরা কঠিন।
505505
506-
**Here is an example to illustrate how re-running Effects in Strict Mode helps you find bugs early.**
506+
**এখানে একটি উদাহরণ রয়েছে যা দেখায় যে স্ট্রিক্ট মোডে ইফেক্টস পুনরায় চালানো কীভাবে আপনাকে বাগ খুঁজে পেতে সাহায্য করে।**
507507
508508
এই উদাহরণটি বিবেচনা করুন যা একটি কম্পোনেন্টকে একটি চ্যাটে সংযুক্ত করে:
509509
@@ -835,13 +835,20 @@ These APIs are primarily used in older [class components](/reference/react/Compo
835835
==============================
836836
==============================
837837
838-
If you have [React DevTools](/learn/react-developer-tools) installed, any `console.log` calls during the second render call will appear slightly dimmed. React DevTools also offers a setting (off by default) to suppress them completely.
839838
840-
### Fixing bugs found by re-running Effects in development {/*fixing-bugs-found-by-re-running-effects-in-development*/}
841839
842-
Strict Mode can also help find bugs in [Effects.](/learn/synchronizing-with-effects)
843840
844-
Every Effect has some setup code and may have some cleanup code. Normally, React calls setup when the component *mounts* (is added to the screen) and calls cleanup when the component *unmounts* (is removed from the screen). React then calls cleanup and setup again if its dependencies changed since the last render.
841+
842+
এই কোডে একটি সমস্যা রয়েছে, কিন্তু এটি সঙ্গে সঙ্গে পরিষ্কার নাও হতে পারে।
843+
844+
845+
846+
847+
848+
849+
===============================
850+
===============================
851+
===============================
845852
846853
When Strict Mode is on, React will also run **one extra setup+cleanup cycle in development for every Effect.** This may feel surprising, but it helps reveal subtle bugs that are hard to catch manually.
847854

0 commit comments

Comments
 (0)