Skip to content
Discussion options

You must be logged in to vote

You may have a misconception about global atom.
Atoms are just definitions and atom values are stored in a store.
So, you want to define a global store explicitly and specify it.
See how it works: https://codesandbox.io/s/crazy-buck-ryx209?file=/src/App.tsx

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@devnomic
Comment options

@dai-shi
Comment options

Answer selected by devnomic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants