Replies: 1 comment
-
Thanks for sharing your thoughts! There might be a few ways to achieve your goals.
I'd choose the 1st option because the maintenance overhead is the same as your current solution (add key + call the fn) and it guarantees that the Also, we got a similar idea here to organize these sorts of grouping into a |
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
-
Hello, team.
I'd like to ask this question in more relative thread. pmndrs/jotai#1981
On top of the initial idea. I think this can be extended to do below:
the code will be like ths:
and use case will be like this:
Do you guys find it useful?
Beta Was this translation helpful? Give feedback.
All reactions