#Sessions
7 messages · Page 1 of 1 (latest)
No I'm not using any lib for authentication is there any inbuilt session in nextjs ? Or any library for it ??
I just want to store the user
You want to store the user information in a global state so that you can access that in any component right ?
You can create a global state by using recoil.js lib and store the user in that. its very easy with recoil
Is it work with the next js api also ?
I think so