Skip to content

Commit

Permalink
docs(codemod): update Codemod section
Browse files Browse the repository at this point in the history
The suggested text sounds better. :)

Co-authored-by: Dominik Dorfmeister <[email protected]>
  • Loading branch information
balazsmatepetro and TkDodo authored Feb 17, 2022
1 parent 787f7d9 commit cc14525
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/pages/guides/migrating-to-react-query-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ To streamline all apis, we've decided to make all keys Arrays only:
+ useQuery(['todos'], fetchTodos)
```

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.
#### Codemod

To make this migration easier, we decided to deliver a codemod.

> 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.
You can easily apply it by using one (or both) of the following commands:

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

Expand Down

0 comments on commit cc14525

Please sign in to comment.