File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -268,8 +268,8 @@ Now let's run through our strategy for them:
268
268
1 . ** Identify components that use state:**
269
269
* ` ProductTable ` needs to filter the product list based on that state (search text and checkbox value).
270
270
* ` SearchBar ` needs to display that state (search text and checkbox value).
271
- 1 . ** Find their common parent:** The first parent component both components share is ` FilterableProductTable ` .
272
- 2 . ** Decide where the state lives** : We'll keep the filter text and checked state values in ` FilterableProductTable ` .
271
+ 2 . ** Find their common parent:** The first parent component both components share is ` FilterableProductTable ` .
272
+ 3 . ** Decide where the state lives** : We'll keep the filter text and checked state values in ` FilterableProductTable ` .
273
273
274
274
So the state values will live in ` FilterableProductTable ` .
275
275
You can’t perform that action at this time.
0 commit comments