Skip to content

RTK Query - 'useQuery' does not exist #1992

Answered by phryneas
ideco asked this question in Q&A
Discussion options

You must be logged in to vote

Did you import from @reduxjs/toolkit/query or @reduxjs/toolkit/query/react? The hooks only exist on the latter.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ideco
Comment options

Answer selected by ideco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants