File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -265,19 +265,11 @@ Props এবং state আলাদা বটে, তবে এরা একই
265265
266266এখন তাদের জন্য আমাদের পরিকল্পনা ঝালাই করে নিই।
267267
268- <<<<<<< HEAD
2692681 . ** state ব্যবহার করে এমন কম্পোনেন্টগুলো চিহ্নিত করুন**
270269 * ` ProductTable ` কে ওই state(সার্চ টেক্সট এবং চেকবক্স) ব্যবহার করে পণ্যের তালিকা বাছাই করতে হবে।
271270 * ` SearchBar ` কে ওই state(সার্চ টেক্সট এবং চেকবক্স) দেখাতে হবে।
272- 1 . ** তাদের সাধারণ parent খুঁজে বের করুন** প্রথম যেই কম্পোনেন্ট এদের দুজনেরই parent তা হল ` FilterableProductTable ` ।
273- 2 . ** State কোথায় থাকবে সেটা সিদ্ধান্ত নিন** : আমরা বাছাই করা text এবং checked state ভ্যালুগুলো ` FilterableProductTable ` -তে রাখব।
274- =======
275- 1 . ** Identify components that use state:**
276- * ` ProductTable ` needs to filter the product list based on that state (search text and checkbox value).
277- * ` SearchBar ` needs to display that state (search text and checkbox value).
278- 2 . ** Find their common parent:** The first parent component both components share is ` FilterableProductTable ` .
279- 3 . ** Decide where the state lives** : We'll keep the filter text and checked state values in ` FilterableProductTable ` .
280- >>>>>>> 50d6991ca6652f4bc4c985cf0c0e593864f2cc91
271+ 2 . ** তাদের সাধারণ parent খুঁজে বের করুন** প্রথম যেই কম্পোনেন্ট এদের দুজনেরই parent তা হল ` FilterableProductTable ` ।
272+ 3 . ** State কোথায় থাকবে সেটা সিদ্ধান্ত নিন** : আমরা বাছাই করা text এবং checked state ভ্যালুগুলো ` FilterableProductTable ` -তে রাখব।
281273
282274সুতরাং state ভ্যালুগুলো থাকবে ` FilterableProductTable ` এর মধ্যে।
283275
You can’t perform that action at this time.
0 commit comments