Skip to content

Commit 958f93f

Browse files
committed
📝 Remove deprecated caution comment
1 parent 43bba18 commit 958f93f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/rtk-query/usage/queries.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ The query hooks expect two parameters: `(queryArg?, queryOptions?)`.
121121

122122
The `queryArg` param will be passed through to the underlying `query` callback to generate the URL.
123123

124-
:::caution
125-
126-
The `queryArg` param is handed to a `useEffect` dependency array internally. RTK Query tries to keep the argument stable by performing a `shallowEquals` diff on the value, however if you pass a deeper nested argument, you will need to keep the param stable yourself, e.g. with `useMemo`.
127-
128-
:::
129-
130124
The `queryOptions` object accepts several additional parameters that can be used to control the behavior of the data fetching:
131125

132126
- [skip](./conditional-fetching) - Allows a query to 'skip' running for that render. Defaults to `false`

0 commit comments

Comments
 (0)