Commit e9a47be
committed
Added "mapContextToProps" to "withSearch"
This is so that we have a hook into state so that we can transform
data before passing them on as props to a component. Helpful if
you want to do something like apply a custom sort to data, etc.1 parent a5af669 commit e9a47be
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
0 commit comments