File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,19 +266,11 @@ td {
266266
267267Давайце разбяром іх з дапамогай нашай стратэгіі:
268268
269- <<<<<<< HEAD
2702691 . ** Вызначыце кампаненты, якія выкарыстоўваюць стан:**
271270 * ` ProductTable ` фільтруе спіс прадуктаў на аснове стану (пошукавы запыт і значэнне чэкбокса).
272271 * ` SearchBar ` адлюстроўвае стан (пошукавы запыт і значэнне чэкбокса).
2732721 . ** Знайдзіце іх агульнага продка:** Першы агульны бацькоўскі кампанент для іх — ` FilterableProductTable ` .
2742732 . ** Вызначыце, дзе будзе знаходзіцца стан** : Мы будзем захоўваць тэкст фільтра і значэнне чэкбокса ў ` FilterableProductTable ` .
275- =======
276- 1 . ** Identify components that use state:**
277- * ` ProductTable ` needs to filter the product list based on that state (search text and checkbox value).
278- * ` SearchBar ` needs to display that state (search text and checkbox value).
279- 2 . ** Find their common parent:** The first parent component both components share is ` FilterableProductTable ` .
280- 3 . ** Decide where the state lives** : We'll keep the filter text and checked state values in ` FilterableProductTable ` .
281- >>>>>>> 1697ae89a3bbafd76998dd7496754e5358bc1e9a
282274
283275Такім чынам, значэнні стану будуць знаходзіцца ў ` FilterableProductTable ` .
284276
You can’t perform that action at this time.
0 commit comments