Skip to content

Commit f1c34ef

Browse files
docs: Highlighting change of the default config key. (#2155)
1 parent c343457 commit f1c34ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ const queryClient = new QueryClient()
4848

4949
Default options for queries and mutations can now be specified in `QueryClient`:
5050

51+
**Notice that it's now defaultOptions instead of defaultConfig**
52+
5153
```js
5254
const queryClient = new QueryClient({
5355
defaultOptions: {

0 commit comments

Comments
 (0)