Commit b05ca29
authored
Update untrack.mdx example
"const value = untrack(() => props.value)" is not a recommended pattern especially because the same could be achieved with "const value = props.value" which is also not a recommended pattern as shown in the following link -> https://docs.solidjs.com/concepts/components/props#destructuring-props.1 parent 9b39632 commit b05ca29
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
0 commit comments