Reuse useRecoilCallback definition #1911
Unanswered
SmashPlusUltra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm setting atoms from inside a recoilCallback, because I got the data after the user press button on a table, so... this callback definition is repeat several time in differents react functions I've defined. Is there a suggestion to write it just once and share among all the functions?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions