Skip to content
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

Freezes when updating multiple async atoms #351

Closed
Thisen opened this issue Mar 12, 2021 · 0 comments · Fixed by #356
Closed

Freezes when updating multiple async atoms #351

Thisen opened this issue Mar 12, 2021 · 0 comments · Fixed by #356
Assignees

Comments

@Thisen
Copy link
Collaborator

Thisen commented Mar 12, 2021

As a part of looking into improvements for useAtomCallback, I've stumbled upon a issue, see the CodeSandbox reproduction.

It looks like there's a freeze, when I click one of those listitems, and Jotai starts to update a bunch of async read atoms.

I've added some tests on a branch, where the tests passes, but you get warnings about [Bug] deleting atomState with read promise.

I'm looking into this help with the help of @dai-shi, so I created this issue for tracking/transparency.

This was referenced Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants