Replies: 1 comment
-
I don't think there is. |
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
-
I need to define a lot of focusAtoms (much more than in the code example below), and I find that it quickly gets unweildy when defining them all in the global scope of the file:
Therefore, I was thinking about namespacing my
focusAtom
s in an object this way:I was even contemplating going one step further and storing my focusAtoms this way:
My question is, is there any performance drawbacks of storing
focusAtom
s in an object?Beta Was this translation helpful? Give feedback.
All reactions