Is it posible to combine useSetAtom
with useReducerAtom
?
#2464
Answered
by
dai-shi
Stainless2k
asked this question in
Q&A
-
I basically want a version of In our app we use an |
Beta Was this translation helpful? Give feedback.
Answered by
dai-shi
Mar 26, 2024
Replies: 1 comment 4 replies
-
In that case, you want to simply use useSetAtom and create a custom hook to apply a reducer. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#2467