Support for Next.js 12 and NextAuth v4 #14
Comments
See #7 (comment) Even the author suggested that it might be better to implement this as a snippet rather than maintaining it as a module given how small the module is and pretty much straightforward. |
Yes. Unfortunately, I had to move away from this implementation and thus don't have the time to properly maintain it, but if anyone wants to pick it up, just tell me! |
@balazsorban44 what do you recommend using now? For those of us that use React Query and Next Auth together. |
You can check #7 |
How does it look now? Or do you have any other suggestions for those using react-query, next-auth@4 and next@12? |
Hi @JensMou, as the author suggests in #7, you can just implement this is a snippet instead of maintaining a module for it. Less dependencies means better maintenance. You can literally open this file https://github.com/nextauthjs/react-query/blob/main/index.js, copy the content, and save it as a custom hook in your code base. I do like to suggest to the author marking this module outdated/deprecated if no one is taking up the offer to take over. |
I'm currently trying to use this library using the following versions of Nextjs and NextAuth, but having the below error:
dependencies:
error:
The text was updated successfully, but these errors were encountered: