Docs: Fix typos in thinking-in-react.md (#7179)

* Fix typos in thinking-in-react.md

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

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
This commit is contained in:
Radoš Milićev
2024-09-30 18:07:07 +02:00
committed by GitHub
parent 8a62ce3a12
commit ae9726a853

View File

@@ -268,8 +268,8 @@ Now let's run through our strategy for them:
1. **Identify components that use state:**
* `ProductTable` needs to filter the product list based on that state (search text and checkbox value).
* `SearchBar` needs to display that state (search text and checkbox value).
1. **Find their common parent:** The first parent component both components share is `FilterableProductTable`.
2. **Decide where the state lives**: We'll keep the filter text and checked state values in `FilterableProductTable`.
2. **Find their common parent:** The first parent component both components share is `FilterableProductTable`.
3. **Decide where the state lives**: We'll keep the filter text and checked state values in `FilterableProductTable`.
So the state values will live in `FilterableProductTable`.