Replies: 1 comment 1 reply
-
you need to pass a generic type to https://stackoverflow.com/questions/60554808/react-useref-with-typescript-and-functional-component pro tip: you can use and also opened a PR for react-query to change the examples. It will work better with typescript, too: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i used nextjs + typescript
i clone the code in my project https://github.com/tannerlinsley/react-query/blob/master/examples/nextjs/pages/_app.js
then i got an error
Beta Was this translation helpful? Give feedback.
All reactions