Skip to content

Commit

Permalink
Docs: Fix typos in thinking-in-react.md (#7179)
Browse files Browse the repository at this point in the history
* Fix typos in thinking-in-react.md

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

---------

Co-authored-by: Ricky <[email protected]>
  • Loading branch information
rammba and rickhanlonii authored Sep 30, 2024
1 parent 8a62ce3 commit ae9726a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/learn/thinking-in-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit ae9726a

Please sign in to comment.