Skip to content

Commit 903b552

Browse files
authored
Resolve a conflict thinking-in-react.md
1 parent 6fb6702 commit 903b552

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/content/learn/thinking-in-react.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -265,19 +265,11 @@ td {
265265

266266
Давайте разберём их с помощью нашей стратегии:
267267

268-
<<<<<<< HEAD
269268
1. **Определите компоненты, которые используют состояния:**
270269
* `ProductTable` фильтрует список товаров, основываясь на состояниях (поисковой запрос и значение чекбокса).
271270
* `SearchBar` отображает состояния (поисковой запрос и значение чекбокса).
272-
1. **Найдите их общего предка:** Первый общий родительский компонент для них -- `FilterableProductTable`.
273-
2. **Определите, где будет находиться состояние**: Мы будем хранить текст фильтра и значение чекбокса в `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-
>>>>>>> 1697ae89a3bbafd76998dd7496754e5358bc1e9a
271+
2. **Найдите их общего предка:** Первый общий родительский компонент для них -- `FilterableProductTable`.
272+
3. **Определите, где будет находиться состояние**: Мы будем хранить текст фильтра и значение чекбокса в `FilterableProductTable`.
281273

282274
Итак, значения состояний будут находиться в `FilterableProductTable`.
283275

0 commit comments

Comments
 (0)