How to limit access to particular atom? #462
Unanswered
headfire94
asked this question in
Q&A
Replies: 1 comment
-
@artalar mentioned nested contexts in chat. I guess these might solve your problem: you define base context and define another one that invested inside the base one and has its own atoms cache. But overall I would say that limiting access to atom instance itself would be the best option for now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example i have module1, atom1 and module2, atom2.
I don't wan't module2 to have access to atom1. But current library gives access to any atom using
ctx.get
(looking at example on this page https://www.reatom.dev/guides/atomization)Beta Was this translation helpful? Give feedback.
All reactions