Replies: 4 comments 5 replies
-
@Gabsys |
Beta Was this translation helpful? Give feedback.
-
So placing And for can't use value of |
Beta Was this translation helpful? Give feedback.
-
Curious what you are trying to achieve here. We already provide a React Context Provider for session: https://next-auth.js.org/getting-started/client#provider In, the next major version it will even be required when using Why do you want another React Context? |
Beta Was this translation helpful? Give feedback.
-
Anyone has any idea? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Has anyone successfully used
session
in React Context? It seems to always return undefined.How to reproduce ☕️
context/userRankContext.js :
_app.js:
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions