Replies: 3 comments 17 replies
-
can I reset a resolved async atom to initial state? in this way, the next |
Beta Was this translation helpful? Give feedback.
17 replies
-
One problem is that there's no standard way to subscribe to route change. Related: #1140 |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://codesandbox.io/s/objective-mccarthy-kx8jvu?file=/src/history.js This is what I expect to work in a most jotai way. (Declarative) |
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
-
I would like the async atom refresh when navigate between route instead of just reading the outdated value.
maybe we need a better support ( a utils function?) for this case.
Beta Was this translation helpful? Give feedback.
All reactions