Skip to content

Commit a0c82e1

Browse files
committed
Resolve merge conflicts
1 parent fed0adf commit a0c82e1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

-8
Original file line numberDiff line numberDiff line change
@@ -266,19 +266,11 @@ U prethodnom koraku, pronašli ste dva state-a u aplikaciji: tekst za pretragu i
266266

267267
Primenimo našu strategiju za njih:
268268

269-
<<<<<<< HEAD
270269
1. **Identifikovati komponente koje koriste state:**
271270
* `ProductTable` treba da filtrira listu proizvoda na osnovu state-a (tekst za pretragu i vrednost checkbox-a).
272271
* `SearchBar` treba da prikaže state (tekst za pretragu i vrednost checkbox-a).
273272
2. **Pronaći zajedničkog roditelja:** Prva komponenta koja sadrži obe komponente je `FilterableProductTable`.
274273
3. **Odlučiti gde živi state:** Držaćemo tekst za pretragu i vrednost checkbox-a u `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
Znači, state vrednosti će živeti u `FilterableProductTable`.
284276

0 commit comments

Comments
 (0)