Commit 98328d6
authored
(fix): commented out automatic search&replace in solid docs
React docs use object syntax inside useQuery({...}), but Solid requires a function returning an object: useQuery(() => ({ ... })).
The current replace rule only prepends () => but does not wrap the object in parentheses, causing Solid examples to return undefined.
This PR removes the useQuery replace rule and manually updates Solid examples to the correct Solid signature.1 parent 6226325 commit 98328d6
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
0 commit comments