-
-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atomWithObservable can't recover from error (and also with any atoms?) #601
Labels
enhancement
New feature or request
Comments
jotai v.1.2.1 apparently have this :
|
@tsanyqudsi Sorry about the inconvenience, #605 will fix it. |
my problem is confirmed : fixed with #605 |
@tsanyqudsi v1.2.2 is published with #605. |
updated and fixed. Thanks @dai-shi :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on #599, I noticed retrying from ErrorBoundary doesn't work (there's a failing test skipped). It's probably because the atom value (error) is stored in Provider, so re-render with the atom doesn't trigger a retry. If this is the case, we'd need to find a fundamental solution. 🤔
Better to start with investigating how useState + useContext would work.
The text was updated successfully, but these errors were encountered: