-
|
What are the good practice to implement multiple setter for 1 selector ? I would like to create multiple setters for a single getter, should I :
In my case I am working on a edition tool with drag and drop elements, I have atoms representing parents containing a list of children ids, and each children is created as an atom from a family. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
For setters you can also use |
Beta Was this translation helpful? Give feedback.
For setters you can also use
useRecoilCallback()oruseRecoilTransaction_UNSTABLE()for different actions.