Use atom within hooks #2838
Replies: 2 comments 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
-
What was the resolution to this question? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
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