Use atom within hooks #2838
Unanswered
anthony-bernardo
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Do you mean you want to get an updated atom value in a callback? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to get value of an atom outside react, but in a hook ?
When I try to update an atom in a hook, and the retrieve the update atom, I'm not getting the updated atom
const ui = useAtomValue(UIList)
Beta Was this translation helpful? Give feedback.
All reactions