-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added jotai provider #86
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
3b57aef
to
308d2a2
Compare
308d2a2
to
f3d8b9e
Compare
f3d8b9e
to
45127c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🚀
{children} | ||
</ChakraProvider> | ||
</CacheProvider> | ||
<JotaiProvider> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sao mình thay đổi vị trí thằng JotailProvider vô giữa thằng CacheProvider và thằng SessionProvider anh Sang?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anh muốn Jotai states thấy được Session, trong một số trường hợp mình không cho user query nhiều, ví dụ bài blogs, người không đăng nhập vẫn query được hết, nhưng người đăng nhập maybe có thể query thêm sâu hơn (admin chẳng hạn). Khi JotaiProvider nằm bên dưới Session thì nó có thể nhận được.
close #84