-
I'm upgrading my application to the new v2 API and ran into an issue where I'm using Is this an intentional design decision or was Thanks! Reproduction: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Thanks for reporting. I think I forgot... Didn't notice as missing tests. It should probably fixable. It would require a big refactor. Let me try. |
Beta Was this translation helpful? Give feedback.
-
Here's one solution in v2. Another solution is atoms-in-atom. We are still experimenting but seems promising. |
Beta Was this translation helpful? Give feedback.
-
I am seeing an error when I
Is there a workaround for it? |
Beta Was this translation helpful? Give feedback.
Here's one solution in v2.
https://codesandbox.io/s/react-typescript-forked-y94yfw
It's using an unstable util. We could use loadable too.
I'll document it later.
Another solution is atoms-in-atom. We are still experimenting but seems promising.
Related discussion: jotaijs/jotai-tanstack-query#21 & #1615