skipToken documentation #2272
aurelien-gaillard
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://redux-toolkit.js.org/rtk-query/api/created-api/hooks#skiptoken
On this part of the doc, there is this code:
useSomeQuery(arg, { skip: !!arg })
Which mean that when the arg is undefined,
skip: false
, while I think it should beskip: true
So the doc should be
useSomeQuery(arg, { skip: !arg })
Do I understand correctly ?
Beta Was this translation helpful? Give feedback.
All reactions