Reactive Session

What is the right way to track the session reactively in NextJS especially when users change orgs. I use the server function to get the session on initial load to be fast. But I don't have a smooth way to transition to client side. Feels like I need to make a provider with context and talk to that as a middle man instead of talking directly to better-auth. Is that the right approach?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?