Skip to content

Commit cc14525

Browse files
docs(codemod): update Codemod section
The suggested text sounds better. :) Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
1 parent 787f7d9 commit cc14525

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/src/pages/guides/migrating-to-react-query-4.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ To streamline all apis, we've decided to make all keys Arrays only:
1818
+ useQuery(['todos'], fetchTodos)
1919
```
2020

21-
To make this migration easier we decided to deliver a codemod. You can easily apply it by using one (or both) of the following commands.
21+
#### Codemod
22+
23+
To make this migration easier, we decided to deliver a codemod.
24+
25+
> The codemod is a best efforts attempt to help you migrate the breaking change. Please review the generated code thoroughly! Also, there are edge cases that cannot be found by the code mod, so please keep an eye on the log output.
26+
27+
You can easily apply it by using one (or both) of the following commands:
2228

2329
If you want to run it against `.js` or `.jsx` files, please use the command below:
2430

0 commit comments

Comments
 (0)