Context Provider Issue
Unanswered
Korat posted this in #help-forum
KoratOP
I posted about an issue I'm having with my User Context Provider here: https://github.com/vercel/next.js/discussions/62420
The post is too long to put in here I think, so hopefully it's okay for me to just put a link to the post.
I'm super stuck, so if anybody knows what I might be doing wrong, any help is greatly appreciated.
The post is too long to put in here I think, so hopefully it's okay for me to just put a link to the post.
I'm super stuck, so if anybody knows what I might be doing wrong, any help is greatly appreciated.
1 Reply
KoratOP
Someone posted a reply and fixed my issue. I feel like an idiot. Was trying to use context in my server component. Idk if there’s a way to have a global “session†of sorts available to the server components. If not the react context should work. Just kind of unfortunate.