queryCache.invalidateQueries - not a function #602
Answered
by
Maadtin
nikoisonfire
asked this question in
General
-
I'm getting "not a function"-errors in both my IDE and Browser Console when using According to my package.json I'm using: |
Beta Was this translation helpful? Give feedback.
Answered by
Maadtin
Jun 23, 2020
Replies: 1 comment
-
You need to upgrade your package to v2. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tannerlinsley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to upgrade your package to v2.
queryCache.invalidateQueries
is only available on version 2 of react-query